#3D259F#3D259F
#3D259F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.183 H 282.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3D259F |
|---|---|
| RGB | rgb(61, 37, 159) |
| HSL | hsl(252, 62%, 38%) |
| HSV | hsv(252, 77%, 62%) |
| CMYK | cmyk(61.6%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(26.21, 44.62, -61.92) |
| CIE-LCH | lch(26.21, 76.32, 305.78°) |
| OKLab | oklab(38.37% 0.0397 -0.1785) |
| OKLCH | oklch(38.37% 0.183 282.5) |
| XYZ | xyz(8.8421, 4.8178, 33.2582) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.19
Royal
#0C1793
ΔE00 5.38
Ultramarine
#2000B1
ΔE00 5.68
Cobalt Blue
#030AA7
ΔE00 5.78
Royal Blue (survey)
#0504AA
ΔE00 6.09
Sapphire (survey)
#2138AB
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D259F #879F25
analogous
#254A9F #3D259F #7A259F
triadic
#3D259F #9F3D25 #259F3D
tetradic
#3D259F #9F254A #879F25 #259F7A
square
#3D259F #9F254A #879F25 #259F7A
split-complementary
#3D259F #9F7A25 #4A9F25
monochromatic
#170E3C #2A196D #3D259F #5132CF #7B64DB
Accessibility & contrast
On white
10.69
#3D259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3D259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D259F
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D259F | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3d259f; /* rgb */ color: rgb(61, 37, 159); /* oklch */ color: oklch(38.4% 0.183 282.5);
Tailwind
colors: {
custom: {
50: '#7f63bd',
500: '#3d259f',
950: '#000000',
},
}SCSS
$custom: #3d259f; $custom-light: #7f63bd; $custom-dark: #000000;
JSON
{
"hex": "#3d259f",
"rgb": {
"r": 61,
"g": 37,
"b": 159
},
"hsl": {
"h": 251.803,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.38366,
"c": 0.1829,
"h": 282.5
},
"luminance": 0.04818
}Semantic roles & 50–950 ramp
primary
#3D259F
secondary
#ADC05F
accent
#E542C5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81