#671987#671987

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

Color values

HEX#671987
RGBrgb(103, 25, 135)
HSLhsl(283, 69%, 31%)
HSVhsv(283, 81%, 53%)
CMYKcmyk(23.7%, 81.5%, 0%, 47.1%)
CIE-LABlab(27.65, 50.34, -44.54)
CIE-LCHlch(27.65, 67.21, 318.49°)
OKLaboklab(39.9% 0.1192 -0.126)
OKLCHoklch(39.9% 0.173 313.4)
XYZxyz(10.3136, 5.3284, 23.4022)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671987 #398719
analogous
#301987 #671987 #871970
triadic
#671987 #876719 #198767
tetradic
#671987 #873019 #398719 #197087
square
#671987 #873019 #398719 #197087
split-complementary
#671987 #708719 #198730
monochromatic
#180620 #400F53 #671987 #8E23BB #AE3FDB

Accessibility & contrast

On white

10.17
#671987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#671987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671987
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671987#FFFFFF#000000##FFFFFF
##6719871.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#0A4385
Tritanopia (blue-blind)
#643450
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671987;
/* rgb */ color: rgb(103, 25, 135);
/* oklch */ color: oklch(39.9% 0.173 313.4);
Tailwind
colors: {
  custom: {
    50: '#9760ab',
    500: '#671987',
    950: '#000000',
  },
}
SCSS
$custom: #671987;
$custom-light: #9760ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671987",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 282.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.399,
    "c": 0.17346,
    "h": 313.4
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#671987
secondary
#65BA41
accent
#EC3C6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671987

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

Preview Lab → · Contrast checker → · Palette generator →

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