#671F76#671F76

#671F76 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.151 H 320.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#671F76
RGBrgb(103, 31, 118)
HSLhsl(290, 58%, 29%)
HSVhsv(290, 74%, 46%)
CMYKcmyk(12.7%, 73.7%, 0%, 53.7%)
CIE-LABlab(27.22, 44.55, -34.52)
CIE-LCHlch(27.22, 56.36, 322.23°)
OKLaboklab(39.21% 0.1158 -0.0966)
OKLCHoklch(39.21% 0.151 320.2)
XYZxyz(9.3531, 5.1720, 17.6417)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F76 #2E761F
analogous
#3C1F76 #671F76 #761F5A
triadic
#671F76 #76671F #1F7667
tetradic
#671F76 #763C1F #2E761F #1F5A76
square
#671F76 #763C1F #2E761F #1F5A76
split-complementary
#671F76 #5A761F #1F763C
monochromatic
#150618 #3D1246 #671F76 #912CA6 #B542CD

Accessibility & contrast

On white

10.32
#671F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#671F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F76
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F76#FFFFFF#000000##FFFFFF
##671F761.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#672F48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671f76;
/* rgb */ color: rgb(103, 31, 118);
/* oklch */ color: oklch(39.2% 0.151 320.2);
Tailwind
colors: {
  custom: {
    50: '#95629e',
    500: '#671f76',
    950: '#000000',
  },
}
SCSS
$custom: #671f76;
$custom-light: #95629e;
$custom-dark: #000000;
JSON
{
  "hex": "#671f76",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 289.655,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39208,
    "c": 0.15085,
    "h": 320.2
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#671F76
secondary
#58AA47
accent
#E24661
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671F76

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

Preview Lab → · Contrast checker → · Palette generator →

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