#3D258F#3D258F
#3D258F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.163 H 285.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3D258F |
|---|---|
| RGB | rgb(61, 37, 143) |
| HSL | hsl(254, 59%, 35%) |
| HSV | hsv(254, 74%, 56%) |
| CMYK | cmyk(57.3%, 74.1%, 0%, 43.9%) |
| CIE-LAB | lab(24.63, 39.72, -54.68) |
| CIE-LCH | lch(24.63, 67.58, 306.00°) |
| OKLab | oklab(36.78% 0.0437 -0.1574) |
| OKLCH | oklch(36.78% 0.163 285.5) |
| XYZ | xyz(7.5425, 4.2980, 26.4134) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.25
Royal
#0C1793
ΔE00 5.31
Indigo (survey)
#380282
ΔE00 5.94
Indigo
#4B0082
ΔE00 6.47
Cobalt Blue
#030AA7
ΔE00 6.71
Midnight Blue
#191970
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D258F #778F25
analogous
#25428F #3D258F #72258F
triadic
#3D258F #8F3D25 #258F3D
tetradic
#3D258F #8F2542 #778F25 #258F72
square
#3D258F #8F2542 #778F25 #258F72
split-complementary
#3D258F #8F7225 #428F25
monochromatic
#140C2E #28185E #3D258F #5232C0 #765AD4
Accessibility & contrast
On white
11.29
#3D258F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3D258F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D258F
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D258F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D258F | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#164258
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d258f; /* rgb */ color: rgb(61, 37, 143); /* oklch */ color: oklch(36.8% 0.163 285.5);
Tailwind
colors: {
custom: {
50: '#7c62b1',
500: '#3d258f',
950: '#000000',
},
}SCSS
$custom: #3d258f; $custom-light: #7c62b1; $custom-dark: #000000;
JSON
{
"hex": "#3d258f",
"rgb": {
"r": 61,
"g": 37,
"b": 143
},
"hsl": {
"h": 253.585,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.36777,
"c": 0.16331,
"h": 285.5
},
"luminance": 0.04298
}Semantic roles & 50–950 ramp
primary
#3D258F
secondary
#A3B957
accent
#E246BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980