#671581#671581

#671581 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.172 H 316.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#671581
RGBrgb(103, 21, 129)
HSLhsl(286, 72%, 29%)
HSVhsv(286, 84%, 51%)
CMYKcmyk(20.2%, 83.7%, 0%, 49.4%)
CIE-LABlab(26.75, 50.38, -42.24)
CIE-LCHlch(26.75, 65.74, 320.02°)
OKLaboklab(39.12% 0.1237 -0.1192)
OKLCHoklch(39.12% 0.172 316)
XYZxyz(9.8235, 5.0053, 21.2133)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671581 #2F8115
analogous
#311581 #671581 #811565
triadic
#671581 #816715 #158167
tetradic
#671581 #813115 #2F8115 #156581
square
#671581 #813115 #2F8115 #156581
split-complementary
#671581 #658115 #158131
monochromatic
#15041A #3D0C4C #671581 #911EB6 #B533DE

Accessibility & contrast

On white

10.49
#671581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#671581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671581
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671581#FFFFFF#000000##FFFFFF
##6715811.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#12417F
Tritanopia (blue-blind)
#652F4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671581;
/* rgb */ color: rgb(103, 21, 129);
/* oklch */ color: oklch(39.1% 0.172 316.0);
Tailwind
colors: {
  custom: {
    50: '#965ea6',
    500: '#671581',
    950: '#000000',
  },
}
SCSS
$custom: #671581;
$custom-light: #965ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#671581",
  "rgb": {
    "r": 103,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 285.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39124,
    "c": 0.17176,
    "h": 316
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#671581
secondary
#59B63C
accent
#EF3965
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671581

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

Preview Lab → · Contrast checker → · Palette generator →

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