#3D239C#3D239C
#3D239C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.181 H 283.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3D239C |
|---|---|
| RGB | rgb(61, 35, 156) |
| HSL | hsl(253, 63%, 37%) |
| HSV | hsv(253, 78%, 61%) |
| CMYK | cmyk(60.9%, 77.6%, 0%, 38.8%) |
| CIE-LAB | lab(25.55, 44.74, -61.18) |
| CIE-LCH | lch(25.55, 75.79, 306.17°) |
| OKLab | oklab(37.81% 0.0419 -0.1764) |
| OKLCH | oklch(37.81% 0.181 283.4) |
| XYZ | xyz(8.5244, 4.5939, 31.8836) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.29
Royal
#0C1793
ΔE00 5.08
Ultramarine
#2000B1
ΔE00 5.53
Cobalt Blue
#030AA7
ΔE00 5.58
Royal Blue (survey)
#0504AA
ΔE00 5.89
Indigo (survey)
#380282
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D239C #829C23
analogous
#23459C #3D239C #7A239C
triadic
#3D239C #9C3D23 #239C3D
tetradic
#3D239C #9C2345 #829C23 #239C7A
square
#3D239C #9C2345 #829C23 #239C7A
split-complementary
#3D239C #9C7A23 #459C23
monochromatic
#160D38 #29186A #3D239C #512ECE #795EDB
Accessibility & contrast
On white
10.94
#3D239C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3D239C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D239C
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D239C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D239C | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3d239c; /* rgb */ color: rgb(61, 35, 156); /* oklch */ color: oklch(37.8% 0.181 283.4);
Tailwind
colors: {
custom: {
50: '#7f62ba',
500: '#3d239c',
950: '#000000',
},
}SCSS
$custom: #3d239c; $custom-light: #7f62ba; $custom-dark: #000000;
JSON
{
"hex": "#3d239c",
"rgb": {
"r": 61,
"g": 35,
"b": 156
},
"hsl": {
"h": 252.893,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.37808,
"c": 0.18127,
"h": 283.4
},
"luminance": 0.04594
}Semantic roles & 50–950 ramp
primary
#3D239C
secondary
#AAC05B
accent
#E641C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981