#3D239F#3D239F
#3D239F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.185 H 282.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3D239F |
|---|---|
| RGB | rgb(61, 35, 159) |
| HSL | hsl(253, 64%, 38%) |
| HSV | hsv(253, 78%, 62%) |
| CMYK | cmyk(61.6%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(25.85, 45.64, -62.50) |
| CIE-LCH | lch(25.85, 77.39, 306.13°) |
| OKLab | oklab(38.12% 0.041 -0.1802) |
| OKLCH | oklch(38.12% 0.185 282.8) |
| XYZ | xyz(8.7816, 4.6968, 33.2380) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.93
Royal
#0C1793
ΔE00 5.20
Ultramarine
#2000B1
ΔE00 5.34
Cobalt Blue
#030AA7
ΔE00 5.49
Royal Blue (survey)
#0504AA
ΔE00 5.78
Violet Blue
#510AC9
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D239F #859F23
analogous
#23479F #3D239F #7B239F
triadic
#3D239F #9F3D23 #239F3D
tetradic
#3D239F #9F2347 #859F23 #239F7B
square
#3D239F #9F2347 #859F23 #239F7B
split-complementary
#3D239F #9F7B23 #479F23
monochromatic
#170D3B #2A186D #3D239F #502ED1 #7A60DC
Accessibility & contrast
On white
10.83
#3D239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#3D239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D239F
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D239F | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3d239f; /* rgb */ color: rgb(61, 35, 159); /* oklch */ color: oklch(38.1% 0.185 282.8);
Tailwind
colors: {
custom: {
50: '#7f62bd',
500: '#3d239f',
950: '#000000',
},
}SCSS
$custom: #3d239f; $custom-light: #7f62bd; $custom-dark: #000000;
JSON
{
"hex": "#3d239f",
"rgb": {
"r": 61,
"g": 35,
"b": 159
},
"hsl": {
"h": 252.581,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.38116,
"c": 0.18484,
"h": 282.8
},
"luminance": 0.04697
}Semantic roles & 50–950 ramp
primary
#3D239F
secondary
#ACC15D
accent
#E741C4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981