#3B249B#3B249B
#3B249B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.179 H 282.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3B249B |
|---|---|
| RGB | rgb(59, 36, 155) |
| HSL | hsl(252, 62%, 37%) |
| HSV | hsv(252, 77%, 61%) |
| CMYK | cmyk(61.9%, 76.8%, 0%, 39.2%) |
| CIE-LAB | lab(25.43, 43.67, -60.76) |
| CIE-LCH | lch(25.43, 74.82, 305.70°) |
| OKLab | oklab(37.66% 0.0385 -0.1752) |
| OKLCH | oklch(37.66% 0.179 282.4) |
| XYZ | xyz(8.3491, 4.5575, 31.4437) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.53
Royal
#0C1793
ΔE00 4.92
Cobalt Blue
#030AA7
ΔE00 5.60
Ultramarine
#2000B1
ΔE00 5.67
Royal Blue (survey)
#0504AA
ΔE00 5.95
Indigo (survey)
#380282
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B249B #849B24
analogous
#24489B #3B249B #77249B
triadic
#3B249B #9B3B24 #249B3B
tetradic
#3B249B #9B2448 #849B24 #249B77
square
#3B249B #9B2448 #849B24 #249B77
split-complementary
#3B249B #9B7724 #489B24
monochromatic
#150D38 #281869 #3B249B #4E30CD #775FDA
Accessibility & contrast
On white
10.99
#3B249B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3B249B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B249B
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B249B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B249B | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3b249b; /* rgb */ color: rgb(59, 36, 155); /* oklch */ color: oklch(37.7% 0.179 282.4);
Tailwind
colors: {
custom: {
50: '#7d62ba',
500: '#3b249b',
950: '#000000',
},
}SCSS
$custom: #3b249b; $custom-light: #7d62ba; $custom-dark: #000000;
JSON
{
"hex": "#3b249b",
"rgb": {
"r": 59,
"g": 36,
"b": 155
},
"hsl": {
"h": 251.597,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.37655,
"c": 0.17937,
"h": 282.4
},
"luminance": 0.04558
}Semantic roles & 50–950 ramp
primary
#3B249B
secondary
#ACBF5C
accent
#E542C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981