#671F86#671F86

#671F86 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.166 H 313.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#671F86
RGBrgb(103, 31, 134)
HSLhsl(282, 62%, 32%)
HSVhsv(282, 77%, 53%)
CMYKcmyk(23.1%, 76.9%, 0%, 47.5%)
CIE-LABlab(28.34, 47.92, -42.80)
CIE-LCHlch(28.34, 64.25, 318.23°)
OKLaboklab(40.36% 0.114 -0.1209)
OKLCHoklch(40.36% 0.166 313.3)
XYZxyz(10.3858, 5.5851, 23.0806)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F86 #3E861F
analogous
#341F86 #671F86 #861F71
triadic
#671F86 #86671F #1F8667
tetradic
#671F86 #86341F #3E861F #1F7186
square
#671F86 #86341F #3E861F #1F7186
split-complementary
#671F86 #71861F #1F8634
monochromatic
#1B0823 #411454 #671F86 #8D2AB8 #AB4AD5

Accessibility & contrast

On white

9.92
#671F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#671F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F86
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F86#FFFFFF#000000##FFFFFF
##671F861.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671f86;
/* rgb */ color: rgb(103, 31, 134);
/* oklch */ color: oklch(40.4% 0.166 313.3);
Tailwind
colors: {
  custom: {
    50: '#9663aa',
    500: '#671f86',
    950: '#000000',
  },
}
SCSS
$custom: #671f86;
$custom-light: #9663aa;
$custom-dark: #000000;
JSON
{
  "hex": "#671f86",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 281.942,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40362,
    "c": 0.16618,
    "h": 313.3
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#671F86
secondary
#6AB849
accent
#E54273
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F86

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

Preview Lab → · Contrast checker → · Palette generator →

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