#38249B#38249B
#38249B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.180 H 280.9°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #38249B |
|---|---|
| RGB | rgb(56, 36, 155) |
| HSL | hsl(250, 62%, 37%) |
| HSV | hsv(250, 77%, 61%) |
| CMYK | cmyk(63.9%, 76.8%, 0%, 39.2%) |
| CIE-LAB | lab(25.16, 43.29, -61.21) |
| CIE-LCH | lch(25.16, 74.98, 305.27°) |
| OKLab | oklab(37.4% 0.034 -0.1766) |
| OKLCH | oklch(37.4% 0.18 280.9) |
| XYZ | xyz(8.1763, 4.4684, 31.4356) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.57
Royal
#0C1793
ΔE00 4.60
Cobalt Blue
#030AA7
ΔE00 5.38
Ultramarine
#2000B1
ΔE00 5.57
Royal Blue (survey)
#0504AA
ΔE00 5.76
Sapphire (survey)
#2138AB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38249B #879B24
analogous
#244B9B #38249B #74249B
triadic
#38249B #9B3824 #249B38
tetradic
#38249B #9B244B #879B24 #249B74
square
#38249B #9B244B #879B24 #249B74
split-complementary
#38249B #9B7424 #4B9B24
monochromatic
#140D38 #261869 #38249B #4A30CD #745FDA
Accessibility & contrast
On white
11.09
#38249B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#38249B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38249B
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38249B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38249B | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #38249b; /* rgb */ color: rgb(56, 36, 155); /* oklch */ color: oklch(37.4% 0.180 280.9);
Tailwind
colors: {
custom: {
50: '#7c62ba',
500: '#38249b',
950: '#000000',
},
}SCSS
$custom: #38249b; $custom-light: #7c62ba; $custom-dark: #000000;
JSON
{
"hex": "#38249b",
"rgb": {
"r": 56,
"g": 36,
"b": 155
},
"hsl": {
"h": 250.084,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.37396,
"c": 0.17987,
"h": 280.9
},
"luminance": 0.04469
}Semantic roles & 50–950 ramp
primary
#38249B
secondary
#AEBF5C
accent
#E542CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981