#674AA4#674AA4

#674AA4 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.5% C 0.140 H 295.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#674AA4
RGBrgb(103, 74, 164)
HSLhsl(259, 38%, 47%)
HSVhsv(259, 55%, 64%)
CMYKcmyk(37.2%, 54.9%, 0%, 35.7%)
CIE-LABlab(38.66, 33.05, -44.51)
CIE-LCHlch(38.66, 55.44, 306.59°)
OKLaboklab(48.49% 0.0604 -0.1261)
OKLCHoklch(48.49% 0.14 295.6)
XYZxyz(14.7414, 10.4612, 36.3573)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674AA4 #87A44A
analogous
#4A5AA4 #674AA4 #944AA4
triadic
#674AA4 #A4674A #4AA467
tetradic
#674AA4 #A44A5A #87A44A #4AA494
square
#674AA4 #A44A5A #87A44A #4AA494
split-complementary
#674AA4 #A4944A #5AA44A
monochromatic
#322450 #4D377A #674AA4 #876EBD #AA98D0

Accessibility & contrast

On white

6.79
#674AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#674AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674AA4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674AA4#FFFFFF#000000##FFFFFF
##674AA41.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#585C70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #674aa4;
/* rgb */ color: rgb(103, 74, 164);
/* oklch */ color: oklch(48.5% 0.140 295.6);
Tailwind
colors: {
  custom: {
    50: '#967dbf',
    500: '#674aa4',
    950: '#000000',
  },
}
SCSS
$custom: #674aa4;
$custom-light: #967dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#674aa4",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 259.333,
    "s": 37.815,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.13986,
    "h": 295.6
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#674AA4
secondary
#ADBD8D
accent
#CE5AA8
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #674AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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