#671B81#671B81

#671B81 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.166 H 315.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#671B81
RGBrgb(103, 27, 129)
HSLhsl(285, 65%, 31%)
HSVhsv(285, 79%, 51%)
CMYKcmyk(20.2%, 79.1%, 0%, 49.4%)
CIE-LABlab(27.44, 48.37, -41.12)
CIE-LCHlch(27.44, 63.49, 319.64°)
OKLaboklab(39.61% 0.1186 -0.116)
OKLCHoklch(39.61% 0.166 315.6)
XYZxyz(9.9473, 5.2528, 21.2545)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B81 #35811B
analogous
#341B81 #671B81 #811B68
triadic
#671B81 #81671B #1B8167
tetradic
#671B81 #81341B #35811B #1B6881
square
#671B81 #81341B #35811B #1B6881
split-complementary
#671B81 #68811B #1B8134
monochromatic
#16061C #3F104E #671B81 #8F26B4 #B03FD7

Accessibility & contrast

On white

10.24
#671B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#671B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##671B81#FFFFFF#000000##FFFFFF
##671B811.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)
#003D84
Deuteranopia (green-blind)
#18437F
Tritanopia (blue-blind)
#65324D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671b81;
/* rgb */ color: rgb(103, 27, 129);
/* oklch */ color: oklch(39.6% 0.166 315.6);
Tailwind
colors: {
  custom: {
    50: '#9661a6',
    500: '#671b81',
    950: '#000000',
  },
}
SCSS
$custom: #671b81;
$custom-light: #9661a6;
$custom-dark: #000000;
JSON
{
  "hex": "#671b81",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 284.706,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.16586,
    "h": 315.6
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#671B81
secondary
#60B543
accent
#E83F6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671B81

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

Preview Lab → · Contrast checker → · Palette generator →

#671B81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva