#3B258F#3B258F
#3B258F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.164 H 284.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #3B258F |
|---|---|
| RGB | rgb(59, 37, 143) |
| HSL | hsl(252, 59%, 35%) |
| HSV | hsv(252, 74%, 56%) |
| CMYK | cmyk(58.7%, 74.1%, 0%, 43.9%) |
| CIE-LAB | lab(24.44, 39.42, -55.01) |
| CIE-LCH | lch(24.44, 67.67, 305.62°) |
| OKLab | oklab(36.59% 0.0407 -0.1584) |
| OKLCH | oklch(36.59% 0.164 284.4) |
| XYZ | xyz(7.4216, 4.2357, 26.4078) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.07
Indigo Blue
#3A18B1
ΔE00 5.25
Indigo (survey)
#380282
ΔE00 5.97
Midnight Blue
#191970
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 6.55
Indigo
#4B0082
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B258F #798F25
analogous
#25448F #3B258F #70258F
triadic
#3B258F #8F3B25 #258F3B
tetradic
#3B258F #8F2544 #798F25 #258F70
square
#3B258F #8F2544 #798F25 #258F70
split-complementary
#3B258F #8F7025 #448F25
monochromatic
#130C2E #27185E #3B258F #4F32C0 #735AD4
Accessibility & contrast
On white
11.37
#3B258F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3B258F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B258F
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B258F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B258F | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#0E4258
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3b258f; /* rgb */ color: rgb(59, 37, 143); /* oklch */ color: oklch(36.6% 0.164 284.4);
Tailwind
colors: {
custom: {
50: '#7b62b1',
500: '#3b258f',
950: '#000000',
},
}SCSS
$custom: #3b258f; $custom-light: #7b62b1; $custom-dark: #000000;
JSON
{
"hex": "#3b258f",
"rgb": {
"r": 59,
"g": 37,
"b": 143
},
"hsl": {
"h": 252.453,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.36589,
"c": 0.16354,
"h": 284.4
},
"luminance": 0.04236
}Semantic roles & 50–950 ramp
primary
#3B258F
secondary
#A5B957
accent
#E246C2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980