#674792#674792
#674792 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 46.8% C 0.121 H 301.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #674792 |
|---|---|
| RGB | rgb(103, 71, 146) |
| HSL | hsl(266, 35%, 43%) |
| HSV | hsv(266, 51%, 57%) |
| CMYK | cmyk(29.5%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(36.87, 29.97, -36.53) |
| CIE-LCH | lch(36.87, 47.25, 309.37°) |
| OKLab | oklab(46.81% 0.0633 -0.1027) |
| OKLCH | oklch(46.81% 0.121 301.6) |
| XYZ | xyz(13.0339, 9.4653, 28.3289) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.24
Rebeccapurple
#663399
ΔE00 5.80
Darkslateblue
#483D8B
ΔE00 6.82
Blueberry
#464196
ΔE00 7.50
Twilight
#4E518B
ΔE00 8.06
Ocean Blue
#4F42B5
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674792 #729247
analogous
#474D92 #674792 #8C4792
triadic
#674792 #926747 #479267
tetradic
#674792 #92474D #729247 #47928C
square
#674792 #92474D #729247 #47928C
split-complementary
#674792 #928C47 #4D9247
monochromatic
#2D1F40 #4A3369 #674792 #8563B3 #A58CC7
Accessibility & contrast
On white
7.26
#674792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#674792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #674792
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674792 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5695
Deuteranopia (green-blind)
#375690
Tritanopia (blue-blind)
#5F5566
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #674792; /* rgb */ color: rgb(103, 71, 146); /* oklch */ color: oklch(46.8% 0.121 301.6);
Tailwind
colors: {
custom: {
50: '#957bb2',
500: '#674792',
950: '#000000',
},
}SCSS
$custom: #674792; $custom-light: #957bb2; $custom-dark: #000000;
JSON
{
"hex": "#674792",
"rgb": {
"r": 103,
"g": 71,
"b": 146
},
"hsl": {
"h": 265.6,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.46811,
"c": 0.12066,
"h": 301.6
},
"luminance": 0.09465
}Semantic roles & 50–950 ramp
primary
#674792
secondary
#9EB382
accent
#CB5D9C
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80