#672188#672188

#672188 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.166 H 312.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#672188
RGBrgb(103, 33, 136)
HSLhsl(281, 61%, 33%)
HSVhsv(281, 76%, 53%)
CMYKcmyk(24.3%, 75.7%, 0%, 46.7%)
CIE-LABlab(28.77, 47.55, -43.35)
CIE-LCHlch(28.77, 64.34, 317.64°)
OKLaboklab(40.71% 0.1117 -0.1226)
OKLCHoklch(40.71% 0.166 312.3)
XYZxyz(10.5805, 5.7492, 23.8401)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672188 #428821
analogous
#332188 #672188 #882175
triadic
#672188 #886721 #218867
tetradic
#672188 #883321 #428821 #217588
square
#672188 #883321 #428821 #217588
split-complementary
#672188 #758821 #218833
monochromatic
#1C0925 #421557 #672188 #8C2DB9 #AA4FD4

Accessibility & contrast

On white

9.77
#672188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#672188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672188
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672188#FFFFFF#000000##FFFFFF
##6721881.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#144586
Tritanopia (blue-blind)
#633853
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672188;
/* rgb */ color: rgb(103, 33, 136);
/* oklch */ color: oklch(40.7% 0.166 312.3);
Tailwind
colors: {
  custom: {
    50: '#9664ab',
    500: '#672188',
    950: '#000000',
  },
}
SCSS
$custom: #672188;
$custom-light: #9664ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672188",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 280.777,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.16581,
    "h": 312.3
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#672188
secondary
#6FB84D
accent
#E44477
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672188

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

Preview Lab → · Contrast checker → · Palette generator →

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