#674F97#674F97
#674F97 is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.6% C 0.114 H 297.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #674F97 |
|---|---|
| RGB | rgb(103, 79, 151) |
| HSL | hsl(260, 31%, 45%) |
| HSV | hsv(260, 48%, 59%) |
| CMYK | cmyk(31.8%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(39.09, 26.45, -36.03) |
| CIE-LCH | lch(39.09, 44.70, 306.28°) |
| OKLab | oklab(48.56% 0.0524 -0.1013) |
| OKLCH | oklch(48.56% 0.114 297.4) |
| XYZ | xyz(13.9741, 10.7097, 30.6031) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.40
Twilight
#4E518B
ΔE00 6.60
Darkslateblue
#483D8B
ΔE00 7.61
Blueberry
#464196
ΔE00 7.70
Rebeccapurple
#663399
ΔE00 8.00
Dusk
#4E5481
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674F97 #7F974F
analogous
#4F5B97 #674F97 #8B4F97
triadic
#674F97 #97674F #4F9767
tetradic
#674F97 #974F5B #7F974F #4F978B
square
#674F97 #974F5B #7F974F #4F978B
split-complementary
#674F97 #978B4F #5B974F
monochromatic
#302547 #4C3A6F #674F97 #866FB4 #A898C9
Accessibility & contrast
On white
6.68
#674F97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#674F97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674F97
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674F97 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#5D5C6C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #674f97; /* rgb */ color: rgb(103, 79, 151); /* oklch */ color: oklch(48.6% 0.114 297.4);
Tailwind
colors: {
custom: {
50: '#9581b6',
500: '#674f97',
950: '#000000',
},
}SCSS
$custom: #674f97; $custom-light: #9581b6; $custom-dark: #000000;
JSON
{
"hex": "#674f97",
"rgb": {
"r": 103,
"g": 79,
"b": 151
},
"hsl": {
"h": 260,
"s": 31.304,
"l": 45.098
},
"oklch": {
"l": 0.48564,
"c": 0.11404,
"h": 297.4
},
"luminance": 0.1071
}Semantic roles & 50–950 ramp
primary
#674F97
secondary
#A8B68C
accent
#C760A5
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80