#671872#671872

#671872 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.155 H 322.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#671872
RGBrgb(103, 24, 114)
HSLhsl(293, 65%, 27%)
HSVhsv(293, 79%, 45%)
CMYKcmyk(9.6%, 78.9%, 0%, 55.3%)
CIE-LABlab(26.02, 46.43, -33.89)
CIE-LCHlch(26.02, 57.48, 323.87°)
OKLaboklab(38.27% 0.1233 -0.0947)
OKLCHoklch(38.27% 0.155 322.5)
XYZxyz(8.9571, 4.7523, 16.3618)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671872 #237218
analogous
#3A1872 #671872 #721850
triadic
#671872 #726718 #187267
tetradic
#671872 #723A18 #237218 #185072
square
#671872 #723A18 #237218 #185072
split-complementary
#671872 #507218 #18723A
monochromatic
#170519 #390D3F #671872 #9523A5 #C031D4

Accessibility & contrast

On white

10.77
#671872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#671872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671872
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671872#FFFFFF#000000##FFFFFF
##6718721.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#264170
Tritanopia (blue-blind)
#682A44
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671872;
/* rgb */ color: rgb(103, 24, 114);
/* oklch */ color: oklch(38.3% 0.155 322.5);
Tailwind
colors: {
  custom: {
    50: '#965f9b',
    500: '#671872',
    950: '#000000',
  },
}
SCSS
$custom: #671872;
$custom-light: #965f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#671872",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 292.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38266,
    "c": 0.15549,
    "h": 322.5
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#671872
secondary
#4BA73E
accent
#E84054
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671872

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

Preview Lab → · Contrast checker → · Palette generator →

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