#674DAF#674DAF
#674DAF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.8% C 0.150 H 292.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #674DAF |
|---|---|
| RGB | rgb(103, 77, 175) |
| HSL | hsl(256, 39%, 49%) |
| HSV | hsv(256, 56%, 69%) |
| CMYK | cmyk(41.1%, 56%, 0%, 31.4%) |
| CIE-LAB | lab(40.06, 34.35, -48.80) |
| CIE-LCH | lch(40.06, 59.68, 305.14°) |
| OKLab | oklab(49.76% 0.0569 -0.1387) |
| OKLCH | oklch(49.76% 0.15 292.3) |
| XYZ | xyz(15.9832, 11.2860, 41.8854) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.28
Bluey Purple
#6241C7
ΔE00 5.01
Iris
#6258C4
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 6.04
Light Indigo
#6D5ACF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674DAF #95AF4D
analogous
#4D64AF #674DAF #984DAF
triadic
#674DAF #AF674D #4DAF67
tetradic
#674DAF #AF4D64 #95AF4D #4DAF98
square
#674DAF #AF4D64 #95AF4D #4DAF98
split-complementary
#674DAF #AF984D #64AF4D
monochromatic
#35285A #4E3A85 #674DAF #8B76C3 #AFA1D6
Accessibility & contrast
On white
6.45
#674DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#674DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674DAF
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674DAF | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B60B2
Deuteranopia (green-blind)
#225CAD
Tritanopia (blue-blind)
#546276
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #674daf; /* rgb */ color: rgb(103, 77, 175); /* oklch */ color: oklch(49.8% 0.150 292.3);
Tailwind
colors: {
custom: {
50: '#977fc7',
500: '#674daf',
950: '#000000',
},
}SCSS
$custom: #674daf; $custom-light: #977fc7; $custom-dark: #000000;
JSON
{
"hex": "#674daf",
"rgb": {
"r": 103,
"g": 77,
"b": 175
},
"hsl": {
"h": 255.918,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.49755,
"c": 0.14995,
"h": 292.3
},
"luminance": 0.11286
}Semantic roles & 50–950 ramp
primary
#674DAF
secondary
#B7C395
accent
#CF59B0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82