#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
RGBrgb(103, 78, 164)
HSLhsl(257, 36%, 47%)
HSVhsv(257, 52%, 64%)
CMYKcmyk(37.2%, 52.4%, 0%, 35.7%)
CIE-LABlab(39.60, 30.64, -43.00)
CIE-LCHlch(39.60, 52.81, 305.47°)
OKLaboklab(49.19% 0.0551 -0.1217)
OKLCHoklch(49.19% 0.134 294.4)
XYZxyz(15.0170, 11.0124, 36.4492)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##674EA41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.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

Preview Lab

Preview with #674EA4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#674EA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva