#671F85#671F85

#671F85 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.165 H 313.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#671F85
RGBrgb(103, 31, 133)
HSLhsl(282, 62%, 32%)
HSVhsv(282, 77%, 52%)
CMYKcmyk(22.6%, 76.7%, 0%, 47.8%)
CIE-LABlab(28.27, 47.70, -42.29)
CIE-LCHlch(28.27, 63.75, 318.44°)
OKLaboklab(40.29% 0.1141 -0.1194)
OKLCHoklch(40.29% 0.165 313.7)
XYZxyz(10.3164, 5.5573, 22.7150)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F85 #3D851F
analogous
#341F85 #671F85 #851F70
triadic
#671F85 #85671F #1F8567
tetradic
#671F85 #85341F #3D851F #1F7085
square
#671F85 #85341F #3D851F #1F7085
split-complementary
#671F85 #70851F #1F8534
monochromatic
#1A0822 #411353 #671F85 #8D2BB7 #AC4AD5

Accessibility & contrast

On white

9.95
#671F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#671F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F85
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F85#FFFFFF#000000##FFFFFF
##671F851.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#164483
Tritanopia (blue-blind)
#643651
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671f85;
/* rgb */ color: rgb(103, 31, 133);
/* oklch */ color: oklch(40.3% 0.165 313.7);
Tailwind
colors: {
  custom: {
    50: '#9663a9',
    500: '#671f85',
    950: '#000000',
  },
}
SCSS
$custom: #671f85;
$custom-light: #9663a9;
$custom-dark: #000000;
JSON
{
  "hex": "#671f85",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 282.353,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40287,
    "c": 0.16521,
    "h": 313.7
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#671F85
secondary
#69B749
accent
#E54372
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F85

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

Preview Lab → · Contrast checker → · Palette generator →

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