#671887#671887

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

Color values

HEX#671887
RGBrgb(103, 24, 135)
HSLhsl(283, 70%, 31%)
HSVhsv(283, 82%, 53%)
CMYKcmyk(23.7%, 82.2%, 0%, 47.1%)
CIE-LABlab(27.54, 50.67, -44.73)
CIE-LCHlch(27.54, 67.59, 318.56°)
OKLaboklab(39.82% 0.12 -0.1265)
OKLCHoklch(39.82% 0.174 313.5)
XYZxyz(10.2926, 5.2864, 23.3952)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671887 #388718
analogous
#2F1887 #671887 #87186F
triadic
#671887 #876718 #188767
tetradic
#671887 #872F18 #388718 #186F87
square
#671887 #872F18 #388718 #186F87
split-complementary
#671887 #6F8718 #18872F
monochromatic
#18061F #3F0F53 #671887 #8F21BB #AE3DDC

Accessibility & contrast

On white

10.21
#671887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671887
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671887#FFFFFF#000000##FFFFFF
##6718871.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#084385
Tritanopia (blue-blind)
#643350
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671887;
/* rgb */ color: rgb(103, 24, 135);
/* oklch */ color: oklch(39.8% 0.174 313.5);
Tailwind
colors: {
  custom: {
    50: '#9760ab',
    500: '#671887',
    950: '#000000',
  },
}
SCSS
$custom: #671887;
$custom-light: #9760ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671887",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 282.703,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.17442,
    "h": 313.5
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#671887
secondary
#63BB40
accent
#ED3B6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671887

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

Preview Lab → · Contrast checker → · Palette generator →

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