#351B6E#351B6E
#351B6E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.134 H 291.0°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #351B6E |
|---|---|
| RGB | rgb(53, 27, 110) |
| HSL | hsl(259, 61%, 27%) |
| HSV | hsv(259, 75%, 43%) |
| CMYK | cmyk(51.8%, 75.5%, 0%, 56.9%) |
| CIE-LAB | lab(18.66, 33.81, -43.58) |
| CIE-LCH | lch(18.66, 55.16, 307.80°) |
| OKLab | oklab(31.37% 0.0479 -0.1251) |
| OKLCH | oklch(31.37% 0.134 291) |
| XYZ | xyz(4.6738, 2.6664, 15.0172) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.30
Indigo (survey)
#380282
ΔE00 5.32
Dark Indigo
#1F0954
ΔE00 5.76
Royal Purple (survey)
#4B006E
ΔE00 6.08
Indigo
#4B0082
ΔE00 6.10
Dark Royal Blue
#02066F
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#351B6E #546E1B
analogous
#1B2B6E #351B6E #5F1B6E
triadic
#351B6E #6E351B #1B6E35
tetradic
#351B6E #6E1B2B #546E1B #1B6E5F
square
#351B6E #6E1B2B #546E1B #1B6E5F
split-complementary
#351B6E #6E5F1B #2B6E1B
monochromatic
#0C0619 #1D0F3D #351B6E #4D279F #6536CE
Accessibility & contrast
On white
13.70
#351B6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#351B6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #351B6E
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##351B6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##351B6E | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#223142
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #351b6e; /* rgb */ color: rgb(53, 27, 110); /* oklch */ color: oklch(31.4% 0.134 291.0);
Tailwind
colors: {
custom: {
50: '#735a98',
500: '#351b6e',
950: '#000000',
},
}SCSS
$custom: #351b6e; $custom-light: #735a98; $custom-dark: #000000;
JSON
{
"hex": "#351b6e",
"rgb": {
"r": 53,
"g": 27,
"b": 110
},
"hsl": {
"h": 258.795,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.31373,
"c": 0.13394,
"h": 291
},
"luminance": 0.02667
}Semantic roles & 50–950 ramp
primary
#351B6E
secondary
#85A342
accent
#E444B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E