#3B239F#3B239F
#3B239F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.185 H 281.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3B239F |
|---|---|
| RGB | rgb(59, 35, 159) |
| HSL | hsl(252, 64%, 38%) |
| HSV | hsv(252, 78%, 62%) |
| CMYK | cmyk(62.9%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(25.67, 45.40, -62.82) |
| CIE-LCH | lch(25.67, 77.51, 305.86°) |
| OKLab | oklab(37.94% 0.038 -0.1812) |
| OKLCH | oklch(37.94% 0.185 281.9) |
| XYZ | xyz(8.6607, 4.6344, 33.2323) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.93
Royal
#0C1793
ΔE00 4.98
Ultramarine
#2000B1
ΔE00 5.24
Cobalt Blue
#030AA7
ΔE00 5.32
Royal Blue (survey)
#0504AA
ΔE00 5.63
True Blue
#010FCC
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B239F #879F23
analogous
#23499F #3B239F #79239F
triadic
#3B239F #9F3B23 #239F3B
tetradic
#3B239F #9F2349 #879F23 #239F79
square
#3B239F #9F2349 #879F23 #239F79
split-complementary
#3B239F #9F7923 #499F23
monochromatic
#160D3B #28186D #3B239F #4E2ED1 #7860DC
Accessibility & contrast
On white
10.90
#3B239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#3B239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B239F
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B239F | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3b239f; /* rgb */ color: rgb(59, 35, 159); /* oklch */ color: oklch(37.9% 0.185 281.9);
Tailwind
colors: {
custom: {
50: '#7e62bd',
500: '#3b239f',
950: '#000000',
},
}SCSS
$custom: #3b239f; $custom-light: #7e62bd; $custom-dark: #000000;
JSON
{
"hex": "#3b239f",
"rgb": {
"r": 59,
"g": 35,
"b": 159
},
"hsl": {
"h": 251.613,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.3794,
"c": 0.18516,
"h": 281.9
},
"luminance": 0.04635
}Semantic roles & 50–950 ramp
primary
#3B239F
secondary
#AEC15D
accent
#E741C7
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981