#671F74#671F74

#671F74 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.149 H 321.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#671F74
RGBrgb(103, 31, 116)
HSLhsl(291, 58%, 29%)
HSVhsv(291, 73%, 45%)
CMYKcmyk(11.2%, 73.3%, 0%, 54.5%)
CIE-LABlab(27.09, 44.14, -33.45)
CIE-LCHlch(27.09, 55.39, 322.85°)
OKLaboklab(39.07% 0.1159 -0.0935)
OKLCHoklch(39.07% 0.149 321.1)
XYZxyz(9.2355, 5.1250, 17.0224)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F74 #2C741F
analogous
#3D1F74 #671F74 #741F57
triadic
#671F74 #74671F #1F7467
tetradic
#671F74 #743D1F #2C741F #1F5774
square
#671F74 #743D1F #2C741F #1F5774
split-complementary
#671F74 #57741F #1F743D
monochromatic
#150618 #3C1244 #671F74 #922CA4 #B741CC

Accessibility & contrast

On white

10.37
#671F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671F74
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F74#FFFFFF#000000##FFFFFF
##671F741.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#682F47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671f74;
/* rgb */ color: rgb(103, 31, 116);
/* oklch */ color: oklch(39.1% 0.149 321.1);
Tailwind
colors: {
  custom: {
    50: '#95629c',
    500: '#671f74',
    950: '#000000',
  },
}
SCSS
$custom: #671f74;
$custom-light: #95629c;
$custom-dark: #000000;
JSON
{
  "hex": "#671f74",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 290.824,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39072,
    "c": 0.14896,
    "h": 321.1
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#671F74
secondary
#56A847
accent
#E1475E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671F74

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

Preview Lab → · Contrast checker → · Palette generator →

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