#38249C#38249C
#38249C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.181 H 280.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #38249C |
|---|---|
| RGB | rgb(56, 36, 156) |
| HSL | hsl(250, 63%, 38%) |
| HSV | hsv(250, 77%, 61%) |
| CMYK | cmyk(64.1%, 76.9%, 0%, 38.8%) |
| CIE-LAB | lab(25.27, 43.60, -61.66) |
| CIE-LCH | lch(25.27, 75.52, 305.27°) |
| OKLab | oklab(37.5% 0.0337 -0.1779) |
| OKLCH | oklch(37.5% 0.181 280.7) |
| XYZ | xyz(8.2606, 4.5022, 31.8797) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.45
Royal
#0C1793
ΔE00 4.64
Cobalt Blue
#030AA7
ΔE00 5.34
Ultramarine
#2000B1
ΔE00 5.50
Royal Blue (survey)
#0504AA
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38249C #889C24
analogous
#244C9C #38249C #74249C
triadic
#38249C #9C3824 #249C38
tetradic
#38249C #9C244C #889C24 #249C74
square
#38249C #9C244C #889C24 #249C74
split-complementary
#38249C #9C7424 #4C9C24
monochromatic
#140D39 #26196A #38249C #4A2FCE #7460DA
Accessibility & contrast
On white
11.05
#38249C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#38249C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38249C
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38249C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38249C | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #38249c; /* rgb */ color: rgb(56, 36, 156); /* oklch */ color: oklch(37.5% 0.181 280.7);
Tailwind
colors: {
custom: {
50: '#7c62ba',
500: '#38249c',
950: '#000000',
},
}SCSS
$custom: #38249c; $custom-light: #7c62ba; $custom-dark: #000000;
JSON
{
"hex": "#38249c",
"rgb": {
"r": 56,
"g": 36,
"b": 156
},
"hsl": {
"h": 250,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.375,
"c": 0.18108,
"h": 280.7
},
"luminance": 0.04503
}Semantic roles & 50–950 ramp
primary
#38249C
secondary
#AFBF5C
accent
#E642CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981