#3D249F#3D249F
#3D249F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.184 H 282.7°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3D249F |
|---|---|
| RGB | rgb(61, 36, 159) |
| HSL | hsl(252, 63%, 38%) |
| HSV | hsv(252, 77%, 62%) |
| CMYK | cmyk(61.6%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.03, 45.13, -62.21) |
| CIE-LCH | lch(26.03, 76.86, 305.96°) |
| OKLab | oklab(38.24% 0.0404 -0.1794) |
| OKLCH | oklch(38.24% 0.184 282.7) |
| XYZ | xyz(8.8114, 4.7564, 33.2479) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.05
Royal
#0C1793
ΔE00 5.28
Ultramarine
#2000B1
ΔE00 5.50
Cobalt Blue
#030AA7
ΔE00 5.63
Royal Blue (survey)
#0504AA
ΔE00 5.93
Violet Blue
#510AC9
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D249F #869F24
analogous
#24489F #3D249F #7A249F
triadic
#3D249F #9F3D24 #249F3D
tetradic
#3D249F #9F2448 #869F24 #249F7A
square
#3D249F #9F2448 #869F24 #249F7A
split-complementary
#3D249F #9F7A24 #489F24
monochromatic
#170D3B #2A196D #3D249F #5130D0 #7B62DB
Accessibility & contrast
On white
10.76
#3D249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#3D249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D249F
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D249F | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3d249f; /* rgb */ color: rgb(61, 36, 159); /* oklch */ color: oklch(38.2% 0.184 282.7);
Tailwind
colors: {
custom: {
50: '#7f62bd',
500: '#3d249f',
950: '#000000',
},
}SCSS
$custom: #3d249f; $custom-light: #7f62bd; $custom-dark: #000000;
JSON
{
"hex": "#3d249f",
"rgb": {
"r": 61,
"g": 36,
"b": 159
},
"hsl": {
"h": 252.195,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.3824,
"c": 0.18389,
"h": 282.7
},
"luminance": 0.04757
}Semantic roles & 50–950 ramp
primary
#3D249F
secondary
#ADC15E
accent
#E642C5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81