#674FC4#674FC4
#674FC4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.175 H 288.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #674FC4 |
|---|---|
| RGB | rgb(103, 79, 196) |
| HSL | hsl(252, 50%, 54%) |
| HSV | hsv(252, 60%, 77%) |
| CMYK | cmyk(47.4%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(41.94, 39.25, -58.08) |
| CIE-LCH | lch(41.94, 70.09, 304.05°) |
| OKLab | oklab(51.59% 0.0544 -0.166) |
| OKLCH | oklch(51.59% 0.175 288.1) |
| XYZ | xyz(18.3504, 12.4603, 53.6520) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.01
Slate Blue
#6A5ACD
ΔE00 3.52
Light Indigo
#6D5ACF
ΔE00 3.69
Bluey Purple
#6241C7
ΔE00 3.74
Dark Periwinkle
#665FD1
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674FC4 #ACC44F
analogous
#4F72C4 #674FC4 #A24FC4
triadic
#674FC4 #C4674F #4FC467
tetradic
#674FC4 #C44F72 #ACC44F #4FC4A2
square
#674FC4 #C44F72 #ACC44F #4FC4A2
split-complementary
#674FC4 #C4A24F #72C44F
monochromatic
#362672 #4C36A0 #674FC4 #8F7DD3 #B6ABE3
Accessibility & contrast
On white
6.01
#674FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#674FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674FC4
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674FC4 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#486A82
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #674fc4; /* rgb */ color: rgb(103, 79, 196); /* oklch */ color: oklch(51.6% 0.175 288.1);
Tailwind
colors: {
custom: {
50: '#9981d7',
500: '#674fc4',
950: '#000000',
},
}SCSS
$custom: #674fc4; $custom-light: #9981d7; $custom-dark: #000000;
JSON
{
"hex": "#674fc4",
"rgb": {
"r": 103,
"g": 79,
"b": 196
},
"hsl": {
"h": 252.308,
"s": 49.787,
"l": 53.922
},
"oklch": {
"l": 0.51593,
"c": 0.17466,
"h": 288.1
},
"luminance": 0.12461
}Semantic roles & 50–950 ramp
primary
#674FC4
secondary
#C6D09E
accent
#D94EBD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83