#351F9E#351F9E
#351F9E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.189 H 279.7°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #351F9E |
|---|---|
| RGB | rgb(53, 31, 158) |
| HSL | hsl(250, 67%, 37%) |
| HSV | hsv(250, 80%, 62%) |
| CMYK | cmyk(66.5%, 80.4%, 0%, 38%) |
| CIE-LAB | lab(24.34, 46.42, -64.42) |
| CIE-LCH | lch(24.34, 79.40, 305.77°) |
| OKLab | oklab(36.85% 0.0317 -0.186) |
| OKLCH | oklch(36.85% 0.189 279.7) |
| XYZ | xyz(8.1278, 4.2048, 32.7244) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.81
Royal
#0C1793
ΔE00 4.01
Cobalt Blue
#030AA7
ΔE00 4.32
Ultramarine
#2000B1
ΔE00 4.44
Royal Blue (survey)
#0504AA
ΔE00 4.66
True Blue
#010FCC
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#351F9E #889E1F
analogous
#1F489E #351F9E #751F9E
triadic
#351F9E #9E351F #1F9E35
tetradic
#351F9E #9E1F48 #889E1F #1F9E75
square
#351F9E #9E1F48 #889E1F #1F9E75
split-complementary
#351F9E #9E751F #489E1F
monochromatic
#130B38 #24156B #351F9E #4629D1 #7059DE
Accessibility & contrast
On white
11.41
#351F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#351F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #351F9E
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##351F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##351F9E | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #351f9e; /* rgb */ color: rgb(53, 31, 158); /* oklch */ color: oklch(36.8% 0.189 279.7);
Tailwind
colors: {
custom: {
50: '#7c5fbc',
500: '#351f9e',
950: '#000000',
},
}SCSS
$custom: #351f9e; $custom-light: #7c5fbc; $custom-dark: #000000;
JSON
{
"hex": "#351f9e",
"rgb": {
"r": 53,
"g": 31,
"b": 158
},
"hsl": {
"h": 250.394,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.36849,
"c": 0.18868,
"h": 279.7
},
"luminance": 0.04205
}Semantic roles & 50–950 ramp
primary
#351F9E
secondary
#B0C256
accent
#EA3ECC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981