#671381#671381

#671381 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 39.0% C 0.173 H 316.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#671381
RGBrgb(103, 19, 129)
HSLhsl(286, 74%, 29%)
HSVhsv(286, 85%, 51%)
CMYKcmyk(20.2%, 85.3%, 0%, 49.4%)
CIE-LABlab(26.55, 50.97, -42.56)
CIE-LCHlch(26.55, 66.40, 320.13°)
OKLaboklab(38.98% 0.1251 -0.1202)
OKLCHoklch(38.98% 0.173 316.2)
XYZxyz(9.7882, 4.9347, 21.2015)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671381 #2D8113
analogous
#301381 #671381 #811364
triadic
#671381 #816713 #138167
tetradic
#671381 #813013 #2D8113 #136481
square
#671381 #813013 #2D8113 #136481
split-complementary
#671381 #648113 #138130
monochromatic
#15041B #3C0B4C #671381 #921BB6 #B62EE0

Accessibility & contrast

On white

10.57
#671381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#671381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671381
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671381#FFFFFF#000000##FFFFFF
##6713811.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#10417F
Tritanopia (blue-blind)
#652E4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671381;
/* rgb */ color: rgb(103, 19, 129);
/* oklch */ color: oklch(39.0% 0.173 316.2);
Tailwind
colors: {
  custom: {
    50: '#965ea6',
    500: '#671381',
    950: '#000000',
  },
}
SCSS
$custom: #671381;
$custom-light: #965ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#671381",
  "rgb": {
    "r": 103,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 285.818,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38983,
    "c": 0.17349,
    "h": 316.2
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#671381
secondary
#57B63A
accent
#F13763
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671381

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

Preview Lab → · Contrast checker → · Palette generator →

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