RAL Classic color

RAL 4005 Blue lilac #6C4675

RAL 4005 Blue lilac is shown here as #6C4675, a widely published sRGB approximation of the printed swatch. It is a dark muted magenta in the violet family. In OKLCH it sits at lightness 0.456, chroma 0.087 and hue 319.8°. The nearest CSS named color is rebeccapurple (#663399), ΔE2000 11.2 away.

Relative luminance
0.0885
OKLCH L · C · h
0.456 · 0.087 · 319.8
Best text
White 7.57:1
Hue family
Violet

#6C4675 color codes

HEX
#6C4675
RGB
rgb(108, 70, 117)
HSL
hsl(289, 25%, 37%)
OKLCH
oklch(0.456 0.087 319.8)
OKLab
oklab(0.456 0.066 -0.056)
CIELAB (D65)
L* 35.70, a* 25.06, b* -20.47
XYZ (D65)
X 11.58, Y 8.85, Z 17.92
CMYK (naive)
cmyk(8%, 40%, 0%, 54%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #6C4675 accessible?

White text on it reaches 7.57:1, passing AAA. Black text fails at 2.77:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    2.77:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +17
  • White text on it

    7.57:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −91
  • As text on black

    2.77:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −15
  • As text on white

    7.57:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +86

Nearest versions that pass 4.5:1

  • For text on white

    #6C4675 7.57:1

    It already reaches 7.57:1 on white, so no change is needed.

  • For text on black

    #8E6798 4.54:1

    Lightening its OKLCH lightness from 0.46 to 0.57 reaches 4.54:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #6C4675 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #6C4675

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #6C4675 sits at step 700.

  1. 50#FCF1FF
    White
    1.09
    Black
    19.16
  2. 100#F9E2FF
    White
    1.21
    Black
    17.35
  3. 200#EEC8F8
    White
    1.47
    Black
    14.25
  4. 300#D5ADDF
    White
    1.93
    Black
    10.87
  5. 400#B990C3
    White
    2.67
    Black
    7.84
  6. 500#9D75A7
    White
    3.79
    Black
    5.53
  7. 600#855E8E
    White
    5.26
    Black
    3.98
  8. 700This color#6C4675
    White
    7.57
    Black
    2.77
  9. 800#52315A
    White
    10.79
    Black
    1.94
  10. 900#381B3F
    White
    15.03
    Black
    1.39
  11. 950#220928
    White
    18.45
    Black
    1.13

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #6C4675 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.219; #6C4675 uses 40% of it. Display P3, which many recent phones and laptops show, reaches 0.236 there: 8% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.087
sRGB edge
0.219
Display P3 edge
0.236
Rec. 2020 edge
0.269
Dominant wavelength
Complementary 556 nm
Excitation purity
35%
Chromaticity
x 0.3020, y 0.2308
  • This color#6C4675
  • Most vivid in sRGB#8800A0
  • Most vivid in Display P3oklch(0.456 0.236 319.8)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #6c4675;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.4959 0 0.624); }
}

Mixing

Mixing #6C4675

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#B6A3BA
  • OKLab50%#B49FB8
  • OKLCH50%#B49FB8

Black #000000

  • sRGB50%#36233B
  • OKLab50%#251529
  • OKLCH50%#251529

Its complement #3B6232

  • sRGB50%#545454
  • OKLab50%#575657
  • OKLCH50%#0B5F7D
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #6c4675, white);
color: color-mix(in oklch, #6c4675 50%, white);

In use

#6C4675 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:17.57:1 Passes
  • Link and body-size textText, 4.5:17.57:1 Passes
  • Large headingLarge text, 3:17.57:1 Passes
  • Icons, borders and focus ringsNon-text, 3:17.57:1 Passes

Dark page

  • Button labelText, 4.5:17.57:1 Passes
  • Link and body-size textText, 4.5:12.47:1 Fails
  • Large headingLarge text, 3:12.47:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.47:1 Fails

For text on this page, the nearest shade that passes is #986FA1 4.57:1

Color vision

How #6C4675 looks with color blindness

Achromatopsia changes it most, ΔE2000 21.2; tritanopia changes it least, 11.5.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #405177 ΔE2000 16.1

    Distinct

    Reads as dark muted blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #495574 ΔE2000 15.4

    Distinct

    Reads as dark muted blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #6D4C58 ΔE2000 11.5

    Distinct

    Reads as dark grayish wine

  • Achromatopsia

    No cone color vision; lightness only

    #545454 ΔE2000 21.2

    Distinct

    Reads as dark gray

Pairing check

Checked against its complement, #3B6232. Their lightness contrast is only 1.07:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#6C4675 · #3B623250.4Stays distinct
Protanopia#405177 · #645B2E35.8Stays distinct
Deuteranopia#495574 · #5F573530.3Stays distinct
Tritanopia#6D4C58 · #385F5735.3Stays distinct
Achromatopsia#545454 · #5959591.8Easily confused

Harmony

Color harmonies for #6C4675

Its complement is #3B6232, a dark muted green.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#6C4675
  • Complement#3B6232

Complementary

Open in Harmony Studio
  • −30°#564E84
  • Base#6C4675
  • +30°#7A415E
  • Base#6C4675
  • +120°#705111
  • +240°#006468
  • Base#6C4675
  • +150°#5A5B17
  • +210°#0B664F

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-4005: #6c4675;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-4005': '#6c4675',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-4005: oklch(0.456 0.087 319.8);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-4005": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.4235, 0.2745, 0.4588],
        "hex": "#6c4675"
      },
      "$description": "RAL 4005 Blue lilac (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral4005 = Color(.sRGB, red: 0.424, green: 0.275, blue: 0.459, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral4005 = Color(0xFF6C4675)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #6C4675 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.