#672288#672288

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

Color values

HEX#672288
RGBrgb(103, 34, 136)
HSLhsl(281, 60%, 33%)
HSVhsv(281, 75%, 53%)
CMYKcmyk(24.3%, 75%, 0%, 46.7%)
CIE-LABlab(28.92, 47.13, -43.12)
CIE-LCHlch(28.92, 63.88, 317.55°)
OKLaboklab(40.82% 0.1107 -0.1219)
OKLCHoklch(40.82% 0.165 312.2)
XYZxyz(10.6087, 5.8055, 23.8495)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672288 #438822
analogous
#342288 #672288 #882276
triadic
#672288 #886722 #228867
tetradic
#672288 #883422 #438822 #227688
square
#672288 #883422 #438822 #227688
split-complementary
#672288 #768822 #228834
monochromatic
#1D0A26 #421657 #672288 #8C2EB9 #A951D3

Accessibility & contrast

On white

9.72
#672288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672288
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672288#FFFFFF#000000##FFFFFF
##6722881.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672288;
/* rgb */ color: rgb(103, 34, 136);
/* oklch */ color: oklch(40.8% 0.165 312.2);
Tailwind
colors: {
  custom: {
    50: '#9664ab',
    500: '#672288',
    950: '#000000',
  },
}
SCSS
$custom: #672288;
$custom-light: #9664ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672288",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 280.588,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.16463,
    "h": 312.2
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#672288
secondary
#71B74F
accent
#E34578
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672288

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

Preview Lab → · Contrast checker → · Palette generator →

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