#671986#671986

#671986 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.173 H 313.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#671986
RGBrgb(103, 25, 134)
HSLhsl(283, 69%, 31%)
HSVhsv(283, 81%, 53%)
CMYKcmyk(23.1%, 81.3%, 0%, 47.5%)
CIE-LABlab(27.57, 50.12, -44.04)
CIE-LCHlch(27.57, 66.72, 318.70°)
OKLaboklab(39.82% 0.1194 -0.1245)
OKLCHoklch(39.82% 0.173 313.8)
XYZxyz(10.2435, 5.3004, 23.0331)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671986 #388619
analogous
#301986 #671986 #86196E
triadic
#671986 #866719 #198667
tetradic
#671986 #863019 #388619 #196E86
square
#671986 #863019 #388619 #196E86
split-complementary
#671986 #6E8619 #198630
monochromatic
#18061F #3F0F52 #671986 #8F23BA #AE3EDB

Accessibility & contrast

On white

10.19
#671986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#671986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671986
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671986#FFFFFF#000000##FFFFFF
##6719861.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#0C4384
Tritanopia (blue-blind)
#643350
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671986;
/* rgb */ color: rgb(103, 25, 134);
/* oklch */ color: oklch(39.8% 0.173 313.8);
Tailwind
colors: {
  custom: {
    50: '#9760aa',
    500: '#671986',
    950: '#000000',
  },
}
SCSS
$custom: #671986;
$custom-light: #9760aa;
$custom-dark: #000000;
JSON
{
  "hex": "#671986",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 282.936,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39822,
    "c": 0.17254,
    "h": 313.8
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#671986
secondary
#63BA41
accent
#EB3C6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671986

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

Preview Lab → · Contrast checker → · Palette generator →

#671986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva