#6352AF#6352AF
#6352AF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.3% C 0.143 H 288.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6352AF |
|---|---|
| RGB | rgb(99, 82, 175) |
| HSL | hsl(251, 37%, 50%) |
| HSV | hsv(251, 53%, 69%) |
| CMYK | cmyk(43.4%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(40.87, 30.38, -47.52) |
| CIE-LCH | lch(40.87, 56.40, 302.58°) |
| OKLab | oklab(50.26% 0.0455 -0.1351) |
| OKLCH | oklch(50.26% 0.143 288.6) |
| XYZ | xyz(15.8986, 11.7818, 41.9856) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.85
Royal Purple
#7851A9
ΔE00 5.13
Slate Blue
#6A5ACD
ΔE00 5.24
Light Indigo
#6D5ACF
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 5.70
Bluey Purple
#6241C7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6352AF #9EAF52
analogous
#526FAF #6352AF #9252AF
triadic
#6352AF #AF6352 #52AF63
tetradic
#6352AF #AF526F #9EAF52 #52AF92
square
#6352AF #AF526F #9EAF52 #52AF92
split-complementary
#6352AF #AF9252 #6FAF52
monochromatic
#342B5C #4B3E86 #6352AF #897CC2 #AEA6D6
Accessibility & contrast
On white
6.26
#6352AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#6352AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6352AF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6352AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6352AF | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2762B2
Deuteranopia (green-blind)
#275EAD
Tritanopia (blue-blind)
#4D6678
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6352af; /* rgb */ color: rgb(99, 82, 175); /* oklch */ color: oklch(50.3% 0.143 288.6);
Tailwind
colors: {
custom: {
50: '#9483c7',
500: '#6352af',
950: '#000000',
},
}SCSS
$custom: #6352af; $custom-light: #9483c7; $custom-dark: #000000;
JSON
{
"hex": "#6352af",
"rgb": {
"r": 99,
"g": 82,
"b": 175
},
"hsl": {
"h": 250.968,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.50264,
"c": 0.14253,
"h": 288.6
},
"luminance": 0.11782
}Semantic roles & 50–950 ramp
primary
#6352AF
secondary
#BCC39A
accent
#CD5BB8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0A13
muted
#7E7C82