#674EA4#674EA4
#674EA4 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.2% C 0.134 H 294.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #674EA4 |
|---|---|
| RGB | rgb(103, 78, 164) |
| HSL | hsl(257, 36%, 47%) |
| HSV | hsv(257, 52%, 64%) |
| CMYK | cmyk(37.2%, 52.4%, 0%, 35.7%) |
| CIE-LAB | lab(39.60, 30.64, -43.00) |
| CIE-LCH | lch(39.60, 52.81, 305.47°) |
| OKLab | oklab(49.19% 0.0551 -0.1217) |
| OKLCH | oklch(49.19% 0.134 294.4) |
| XYZ | xyz(15.0170, 11.0124, 36.4492) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.68
Iris
#6258C4
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 6.51
Bluey Purple
#6241C7
ΔE00 6.87
Blueberry
#464196
ΔE00 7.03
Twilight
#4E518B
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674EA4 #8BA44E
analogous
#4E60A4 #674EA4 #924EA4
triadic
#674EA4 #A4674E #4EA467
tetradic
#674EA4 #A44E60 #8BA44E #4EA492
square
#674EA4 #A44E60 #8BA44E #4EA492
split-complementary
#674EA4 #A4924E #60A44E
monochromatic
#332751 #4D3A7B #674EA4 #8873BC #AB9CD0
Accessibility & contrast
On white
6.56
#674EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#674EA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674EA4
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674EA4 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#315CA2
Tritanopia (blue-blind)
#585F71
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #674ea4; /* rgb */ color: rgb(103, 78, 164); /* oklch */ color: oklch(49.2% 0.134 294.4);
Tailwind
colors: {
custom: {
50: '#9680bf',
500: '#674ea4',
950: '#000000',
},
}SCSS
$custom: #674ea4; $custom-light: #9680bf; $custom-dark: #000000;
JSON
{
"hex": "#674ea4",
"rgb": {
"r": 103,
"g": 78,
"b": 164
},
"hsl": {
"h": 257.442,
"s": 35.537,
"l": 47.451
},
"oklch": {
"l": 0.49193,
"c": 0.1336,
"h": 294.4
},
"luminance": 0.11013
}Semantic roles & 50–950 ramp
primary
#674EA4
secondary
#B0BD91
accent
#CC5CAB
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81