#672189#672189

#672189 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.167 H 312.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#672189
RGBrgb(103, 33, 137)
HSLhsl(280, 61%, 33%)
HSVhsv(280, 76%, 54%)
CMYKcmyk(24.8%, 75.9%, 0%, 46.3%)
CIE-LABlab(28.84, 47.77, -43.86)
CIE-LCHlch(28.84, 64.85, 317.44°)
OKLaboklab(40.79% 0.1115 -0.124)
OKLCHoklch(40.79% 0.167 312)
XYZxyz(10.6519, 5.7777, 24.2161)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672189 #438921
analogous
#332189 #672189 #892177
triadic
#672189 #896721 #218967
tetradic
#672189 #893321 #438921 #217789
square
#672189 #893321 #438921 #217789
split-complementary
#672189 #778921 #218933
monochromatic
#1D0926 #421558 #672189 #8C2DBA #A950D5

Accessibility & contrast

On white

9.74
#672189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#672189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672189
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672189#FFFFFF#000000##FFFFFF
##6721891.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#124587
Tritanopia (blue-blind)
#633953
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672189;
/* rgb */ color: rgb(103, 33, 137);
/* oklch */ color: oklch(40.8% 0.167 312.0);
Tailwind
colors: {
  custom: {
    50: '#9664ac',
    500: '#672189',
    950: '#000000',
  },
}
SCSS
$custom: #672189;
$custom-light: #9664ac;
$custom-dark: #000000;
JSON
{
  "hex": "#672189",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 280.385,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40789,
    "c": 0.1668,
    "h": 312
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#672189
secondary
#71B84E
accent
#E44478
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672189

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

Preview Lab → · Contrast checker → · Palette generator →

#672189 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva