#671886#671886

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

Color values

HEX#671886
RGBrgb(103, 24, 134)
HSLhsl(283, 70%, 31%)
HSVhsv(283, 82%, 53%)
CMYKcmyk(23.1%, 82.1%, 0%, 47.5%)
CIE-LABlab(27.46, 50.46, -44.23)
CIE-LCHlch(27.46, 67.10, 318.77°)
OKLaboklab(39.74% 0.1202 -0.1251)
OKLCHoklch(39.74% 0.174 313.9)
XYZxyz(10.2225, 5.2584, 23.0261)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671886 #378618
analogous
#301886 #671886 #86186E
triadic
#671886 #866718 #188667
tetradic
#671886 #863018 #378618 #186E86
square
#671886 #863018 #378618 #186E86
split-complementary
#671886 #6E8618 #188630
monochromatic
#17051E #3F0F52 #671886 #8F21BA #AF3CDC

Accessibility & contrast

On white

10.24
#671886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#671886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671886
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671886#FFFFFF#000000##FFFFFF
##6718861.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671886;
/* rgb */ color: rgb(103, 24, 134);
/* oklch */ color: oklch(39.7% 0.173 313.9);
Tailwind
colors: {
  custom: {
    50: '#9760aa',
    500: '#671886',
    950: '#000000',
  },
}
SCSS
$custom: #671886;
$custom-light: #9760aa;
$custom-dark: #000000;
JSON
{
  "hex": "#671886",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 283.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39741,
    "c": 0.1735,
    "h": 313.9
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#671886
secondary
#62BA40
accent
#EC3B6D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #671886

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

Preview Lab → · Contrast checker → · Palette generator →

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