#6D239C#6D239C
#6D239C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.185 H 308.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6D239C |
|---|---|
| RGB | rgb(109, 35, 156) |
| HSL | hsl(277, 63%, 37%) |
| HSV | hsv(277, 78%, 61%) |
| CMYK | cmyk(30.1%, 77.6%, 0%, 38.8%) |
| CIE-LAB | lab(31.47, 52.38, -51.25) |
| CIE-LCH | lch(31.47, 73.28, 315.63°) |
| OKLab | oklab(43.29% 0.1143 -0.1456) |
| OKLCH | oklch(43.29% 0.185 308.1) |
| XYZ | xyz(12.9072, 6.8538, 32.0890) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.25
Purple (survey)
#7E1E9C
ΔE00 3.28
Darkmagenta
#8B008B
ΔE00 7.50
Purple
#800080
ΔE00 7.55
Purple Blue
#5D21D0
ΔE00 8.10
Indigo
#4B0082
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D239C #529C23
analogous
#30239C #6D239C #9C238F
triadic
#6D239C #9C6D23 #239C6D
tetradic
#6D239C #9C3023 #529C23 #238F9C
square
#6D239C #9C3023 #529C23 #238F9C
split-complementary
#6D239C #8F9C23 #239C30
monochromatic
#270D38 #4A186A #6D239C #902ECE #AB5EDB
Accessibility & contrast
On white
8.86
#6D239C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#6D239C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D239C
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D239C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D239C | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#65415F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6d239c; /* rgb */ color: rgb(109, 35, 156); /* oklch */ color: oklch(43.3% 0.185 308.1);
Tailwind
colors: {
custom: {
50: '#9c66ba',
500: '#6d239c',
950: '#000000',
},
}SCSS
$custom: #6d239c; $custom-light: #9c66ba; $custom-dark: #000000;
JSON
{
"hex": "#6d239c",
"rgb": {
"r": 109,
"g": 35,
"b": 156
},
"hsl": {
"h": 276.694,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.43285,
"c": 0.18508,
"h": 308.1
},
"luminance": 0.06854
}Semantic roles & 50–950 ramp
primary
#6D239C
secondary
#82C05B
accent
#E64181
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81