#3B239E#3B239E
#3B239E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.184 H 282.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3B239E |
|---|---|
| RGB | rgb(59, 35, 158) |
| HSL | hsl(252, 64%, 38%) |
| HSV | hsv(252, 78%, 62%) |
| CMYK | cmyk(62.7%, 77.8%, 0%, 38%) |
| CIE-LAB | lab(25.56, 45.09, -62.38) |
| CIE-LCH | lch(25.56, 76.97, 305.86°) |
| OKLab | oklab(37.84% 0.0383 -0.1799) |
| OKLCH | oklch(37.84% 0.184 282) |
| XYZ | xyz(8.5743, 4.5999, 32.7772) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.05
Royal
#0C1793
ΔE00 4.93
Ultramarine
#2000B1
ΔE00 5.30
Cobalt Blue
#030AA7
ΔE00 5.34
Royal Blue (survey)
#0504AA
ΔE00 5.66
True Blue
#010FCC
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B239E #869E23
analogous
#23499E #3B239E #78239E
triadic
#3B239E #9E3B23 #239E3B
tetradic
#3B239E #9E2349 #869E23 #239E78
square
#3B239E #9E2349 #869E23 #239E78
split-complementary
#3B239E #9E7823 #499E23
monochromatic
#160D3A #28186C #3B239E #4E2ED0 #7860DC
Accessibility & contrast
On white
10.94
#3B239E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3B239E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B239E
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B239E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B239E | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3b239e; /* rgb */ color: rgb(59, 35, 158); /* oklch */ color: oklch(37.8% 0.184 282.0);
Tailwind
colors: {
custom: {
50: '#7e62bc',
500: '#3b239e',
950: '#000000',
},
}SCSS
$custom: #3b239e; $custom-light: #7e62bc; $custom-dark: #000000;
JSON
{
"hex": "#3b239e",
"rgb": {
"r": 59,
"g": 35,
"b": 158
},
"hsl": {
"h": 251.707,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.37837,
"c": 0.18396,
"h": 282
},
"luminance": 0.046
}Semantic roles & 50–950 ramp
primary
#3B239E
secondary
#ADC15C
accent
#E741C6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981