#671B72#671B72

#671B72 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.152 H 322.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#671B72
RGBrgb(103, 27, 114)
HSLhsl(292, 62%, 28%)
HSVhsv(292, 76%, 45%)
CMYKcmyk(9.6%, 76.3%, 0%, 55.3%)
CIE-LABlab(26.40, 45.33, -33.28)
CIE-LCHlch(26.40, 56.24, 323.72°)
OKLaboklab(38.54% 0.1203 -0.093)
OKLCHoklch(38.54% 0.152 322.3)
XYZxyz(9.0224, 4.8829, 16.3836)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B72 #26721B
analogous
#3C1B72 #671B72 #721B51
triadic
#671B72 #72671B #1B7267
tetradic
#671B72 #723C1B #26721B #1B5172
square
#671B72 #723C1B #26721B #1B5172
split-complementary
#671B72 #51721B #1B723C
monochromatic
#160619 #3A0F41 #671B72 #9427A3 #BD38D0

Accessibility & contrast

On white

10.63
#671B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#671B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B72
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B72#FFFFFF#000000##FFFFFF
##671B721.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#284170
Tritanopia (blue-blind)
#682B45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671b72;
/* rgb */ color: rgb(103, 27, 114);
/* oklch */ color: oklch(38.5% 0.152 322.3);
Tailwind
colors: {
  custom: {
    50: '#95609b',
    500: '#671b72',
    950: '#000000',
  },
}
SCSS
$custom: #671b72;
$custom-light: #95609b;
$custom-dark: #000000;
JSON
{
  "hex": "#671b72",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 292.414,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38538,
    "c": 0.15207,
    "h": 322.3
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#671B72
secondary
#4FA742
accent
#E54357
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671B72

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

Preview Lab → · Contrast checker → · Palette generator →

#671B72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva