#672871#672871

#672871 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 39.9% C 0.133 H 322.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#672871
RGBrgb(103, 40, 113)
HSLhsl(292, 48%, 30%)
HSVhsv(292, 65%, 44%)
CMYKcmyk(8.8%, 64.6%, 0%, 55.7%)
CIE-LABlab(28.36, 39.45, -29.51)
CIE-LCHlch(28.36, 49.26, 323.20°)
OKLaboklab(39.93% 0.1049 -0.0821)
OKLCHoklch(39.93% 0.133 322)
XYZxyz(9.3326, 5.5939, 16.2077)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672871 #327128
analogous
#432871 #672871 #712856
triadic
#672871 #716728 #287167
tetradic
#672871 #714328 #327128 #285671
square
#672871 #714328 #327128 #285671
split-complementary
#672871 #567128 #287143
monochromatic
#150817 #3E1844 #672871 #90389E #B252C2

Accessibility & contrast

On white

9.91
#672871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#672871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672871
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672871#FFFFFF#000000##FFFFFF
##6728711.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#31456F
Tritanopia (blue-blind)
#683348
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672871;
/* rgb */ color: rgb(103, 40, 113);
/* oklch */ color: oklch(39.9% 0.133 322.0);
Tailwind
colors: {
  custom: {
    50: '#95669a',
    500: '#672871',
    950: '#000000',
  },
}
SCSS
$custom: #672871;
$custom-light: #95669a;
$custom-dark: #000000;
JSON
{
  "hex": "#672871",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 291.781,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.39931,
    "c": 0.13324,
    "h": 322
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#672871
secondary
#5DA352
accent
#D75063
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672871

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

Preview Lab → · Contrast checker → · Palette generator →

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