#3D258C#3D258C
#3D258C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.160 H 286.1°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3D258C |
|---|---|
| RGB | rgb(61, 37, 140) |
| HSL | hsl(254, 58%, 35%) |
| HSV | hsv(254, 74%, 55%) |
| CMYK | cmyk(56.4%, 73.6%, 0%, 45.1%) |
| CIE-LAB | lab(24.35, 38.80, -53.28) |
| CIE-LCH | lch(24.35, 65.91, 306.06°) |
| OKLab | oklab(36.49% 0.0444 -0.1533) |
| OKLCH | oklch(36.49% 0.16 286.1) |
| XYZ | xyz(7.3182, 4.2083, 25.2325) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.45
Indigo Blue
#3A18B1
ΔE00 5.70
Indigo (survey)
#380282
ΔE00 5.85
Indigo
#4B0082
ΔE00 6.36
Midnight Blue
#191970
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D258C #748C25
analogous
#25408C #3D258C #71258C
triadic
#3D258C #8C3D25 #258C3D
tetradic
#3D258C #8C2540 #748C25 #258C71
square
#3D258C #8C2540 #748C25 #258C71
split-complementary
#3D258C #8C7125 #408C25
monochromatic
#130B2B #28185C #3D258C #5232BC #7558D3
Accessibility & contrast
On white
11.40
#3D258C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3D258C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D258C
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D258C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D258C | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#1A4156
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d258c; /* rgb */ color: rgb(61, 37, 140); /* oklch */ color: oklch(36.5% 0.160 286.1);
Tailwind
colors: {
custom: {
50: '#7c62af',
500: '#3d258c',
950: '#000000',
},
}SCSS
$custom: #3d258c; $custom-light: #7c62af; $custom-dark: #000000;
JSON
{
"hex": "#3d258c",
"rgb": {
"r": 61,
"g": 37,
"b": 140
},
"hsl": {
"h": 253.981,
"s": 58.192,
"l": 34.706
},
"oklch": {
"l": 0.36488,
"c": 0.15956,
"h": 286.1
},
"luminance": 0.04209
}Semantic roles & 50–950 ramp
primary
#3D258C
secondary
#A1B855
accent
#E146BD
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0A0510
muted
#7C797F