#6F56AF#6F56AF
#6F56AF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.1% C 0.137 H 294.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6F56AF |
|---|---|
| RGB | rgb(111, 86, 175) |
| HSL | hsl(257, 36%, 51%) |
| HSV | hsv(257, 51%, 69%) |
| CMYK | cmyk(36.6%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(42.96, 30.96, -44.12) |
| CIE-LCH | lch(42.96, 53.90, 305.06°) |
| OKLab | oklab(52.09% 0.0558 -0.1247) |
| OKLCH | oklch(52.09% 0.137 294.1) |
| XYZ | xyz(17.6192, 13.1299, 42.1552) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.09
Iris
#6258C4
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 5.38
Light Indigo
#6D5ACF
ΔE00 5.49
Dark Periwinkle
#665FD1
ΔE00 6.79
Deep Lavender
#8D5EB7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F56AF #96AF56
analogous
#5669AF #6F56AF #9B56AF
triadic
#6F56AF #AF6F56 #56AF6F
tetradic
#6F56AF #AF5669 #96AF56 #56AF9B
square
#6F56AF #AF5669 #96AF56 #56AF9B
split-complementary
#6F56AF #AF9B56 #69AF56
monochromatic
#3A2D5E #544088 #6F56AF #9280C3 #B6A9D6
Accessibility & contrast
On white
5.79
#6F56AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#6F56AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F56AF
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F56AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F56AF | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#60687A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6f56af; /* rgb */ color: rgb(111, 86, 175); /* oklch */ color: oklch(52.1% 0.137 294.1);
Tailwind
colors: {
custom: {
50: '#9c86c7',
500: '#6f56af',
950: '#000000',
},
}SCSS
$custom: #6f56af; $custom-light: #9c86c7; $custom-dark: #000000;
JSON
{
"hex": "#6f56af",
"rgb": {
"r": 111,
"g": 86,
"b": 175
},
"hsl": {
"h": 256.854,
"s": 35.743,
"l": 51.176
},
"oklch": {
"l": 0.52094,
"c": 0.13662,
"h": 294.1
},
"luminance": 0.1313
}Semantic roles & 50–950 ramp
primary
#6F56AF
secondary
#B9C49D
accent
#CC5CAC
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82