#671F72#671F72

#671F72 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.9% C 0.147 H 322.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#671F72
RGBrgb(103, 31, 114)
HSLhsl(292, 57%, 28%)
HSVhsv(292, 73%, 45%)
CMYKcmyk(9.6%, 72.8%, 0%, 55.3%)
CIE-LABlab(26.96, 43.74, -32.38)
CIE-LCHlch(26.96, 54.42, 323.49°)
OKLaboklab(38.94% 0.116 -0.0904)
OKLCHoklch(38.94% 0.147 322.1)
XYZxyz(9.1204, 5.0789, 16.4163)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F72 #2A721F
analogous
#3D1F72 #671F72 #721F53
triadic
#671F72 #72671F #1F7267
tetradic
#671F72 #723D1F #2A721F #1F5372
square
#671F72 #723D1F #2A721F #1F5372
split-complementary
#671F72 #53721F #1F723D
monochromatic
#160718 #3C1242 #671F72 #922CA2 #B940CB

Accessibility & contrast

On white

10.42
#671F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#671F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F72
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F72#FFFFFF#000000##FFFFFF
##671F721.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A74
Deuteranopia (green-blind)
#2A4270
Tritanopia (blue-blind)
#682E46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671f72;
/* rgb */ color: rgb(103, 31, 114);
/* oklch */ color: oklch(38.9% 0.147 322.1);
Tailwind
colors: {
  custom: {
    50: '#95629b',
    500: '#671f72',
    950: '#000000',
  },
}
SCSS
$custom: #671f72;
$custom-light: #95629b;
$custom-dark: #000000;
JSON
{
  "hex": "#671f72",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 292.048,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.14709,
    "h": 322.1
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#671F72
secondary
#54A647
accent
#E0475C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671F72

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

Preview Lab → · Contrast checker → · Palette generator →

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