#672AA4#672AA4

#672AA4 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.184 H 302.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#672AA4
RGBrgb(103, 42, 164)
HSLhsl(270, 59%, 40%)
HSVhsv(270, 74%, 64%)
CMYKcmyk(37.2%, 74.4%, 0%, 35.7%)
CIE-LABlab(32.30, 50.21, -54.78)
CIE-LCHlch(32.30, 74.31, 312.51°)
OKLaboklab(43.89% 0.0975 -0.1562)
OKLCHoklch(43.89% 0.184 302)
XYZxyz(13.1207, 7.2198, 35.8171)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AA4 #67A42A
analogous
#2A2AA4 #672AA4 #A42AA4
triadic
#672AA4 #A4672A #2AA467
tetradic
#672AA4 #A42A2A #67A42A #2AA4A4
square
#672AA4 #A42A2A #67A42A #2AA4A4
split-complementary
#672AA4 #A4A42A #2AA42A
monochromatic
#2A1143 #481E73 #672AA4 #863ECD #A46EDA

Accessibility & contrast

On white

8.59
#672AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#672AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AA4
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AA4#FFFFFF#000000##FFFFFF
##672AA41.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#5A4965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672aa4;
/* rgb */ color: rgb(103, 42, 164);
/* oklch */ color: oklch(43.9% 0.184 302.0);
Tailwind
colors: {
  custom: {
    50: '#986ac0',
    500: '#672aa4',
    950: '#000000',
  },
}
SCSS
$custom: #672aa4;
$custom-light: #986ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#672aa4",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 270,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43891,
    "c": 0.18413,
    "h": 302
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

primary
#672AA4
secondary
#95C169
accent
#E24594
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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