#6352AB#6352AB
#6352AB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.0% C 0.137 H 289.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #6352AB |
|---|---|
| RGB | rgb(99, 82, 171) |
| HSL | hsl(251, 35%, 50%) |
| HSV | hsv(251, 52%, 67%) |
| CMYK | cmyk(42.1%, 52%, 0%, 32.9%) |
| CIE-LAB | lab(40.62, 29.20, -45.56) |
| CIE-LCH | lch(40.62, 54.11, 302.66°) |
| OKLab | oklab(50% 0.0452 -0.1293) |
| OKLCH | oklch(50% 0.137 289.3) |
| XYZ | xyz(15.5115, 11.6270, 39.9471) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 4.47
Royal Purple
#7851A9
ΔE00 4.91
Slate Blue
#6A5ACD
ΔE00 5.84
Ocean Blue
#4F42B5
ΔE00 5.99
Light Indigo
#6D5ACF
ΔE00 6.18
Bluey Purple
#6241C7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6352AB #9AAB52
analogous
#526DAB #6352AB #9052AB
triadic
#6352AB #AB6352 #52AB63
tetradic
#6352AB #AB526D #9AAB52 #52AB90
square
#6352AB #AB526D #9AAB52 #52AB90
split-complementary
#6352AB #AB9052 #6DAB52
monochromatic
#332A58 #4B3E82 #6352AB #887BC0 #ADA4D3
Accessibility & contrast
On white
6.31
#6352AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#6352AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6352AB
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6352AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6352AB | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B62AE
Deuteranopia (green-blind)
#2C5EA9
Tritanopia (blue-blind)
#4F6576
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6352ab; /* rgb */ color: rgb(99, 82, 171); /* oklch */ color: oklch(50.0% 0.137 289.3);
Tailwind
colors: {
custom: {
50: '#9483c4',
500: '#6352ab',
950: '#000000',
},
}SCSS
$custom: #6352ab; $custom-light: #9483c4; $custom-dark: #000000;
JSON
{
"hex": "#6352ab",
"rgb": {
"r": 99,
"g": 82,
"b": 171
},
"hsl": {
"h": 251.461,
"s": 35.178,
"l": 49.608
},
"oklch": {
"l": 0.49997,
"c": 0.13699,
"h": 289.3
},
"luminance": 0.11628
}Semantic roles & 50–950 ramp
primary
#6352AB
secondary
#B9C198
accent
#CB5DB6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82