#671E86#671E86

#671E86 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.167 H 313.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#671E86
RGBrgb(103, 30, 134)
HSLhsl(282, 63%, 32%)
HSVhsv(282, 78%, 53%)
CMYKcmyk(23.1%, 77.6%, 0%, 47.5%)
CIE-LABlab(28.20, 48.31, -43.02)
CIE-LCHlch(28.20, 64.69, 318.31°)
OKLaboklab(40.27% 0.1149 -0.1216)
OKLCHoklch(40.27% 0.167 313.4)
XYZxyz(10.3601, 5.5337, 23.0720)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E86 #3D861E
analogous
#331E86 #671E86 #861E71
triadic
#671E86 #86671E #1E8667
tetradic
#671E86 #86331E #3D861E #1E7186
square
#671E86 #86331E #3D861E #1E7186
split-complementary
#671E86 #71861E #1E8633
monochromatic
#1A0822 #411354 #671E86 #8D29B8 #AC48D6

Accessibility & contrast

On white

9.97
#671E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671E86
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E86#FFFFFF#000000##FFFFFF
##671E861.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671e86;
/* rgb */ color: rgb(103, 30, 134);
/* oklch */ color: oklch(40.3% 0.167 313.4);
Tailwind
colors: {
  custom: {
    50: '#9662aa',
    500: '#671e86',
    950: '#000000',
  },
}
SCSS
$custom: #671e86;
$custom-light: #9662aa;
$custom-dark: #000000;
JSON
{
  "hex": "#671e86",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 282.115,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40266,
    "c": 0.16731,
    "h": 313.4
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#671E86
secondary
#69B847
accent
#E64173
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671E86

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

Preview Lab → · Contrast checker → · Palette generator →

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