#671E81#671E81

#671E81 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.163 H 315.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#671E81
RGBrgb(103, 30, 129)
HSLhsl(284, 62%, 31%)
HSVhsv(284, 77%, 51%)
CMYKcmyk(20.2%, 76.7%, 0%, 49.4%)
CIE-LABlab(27.84, 47.24, -40.48)
CIE-LCHlch(27.84, 62.21, 319.41°)
OKLaboklab(39.89% 0.1157 -0.1141)
OKLCHoklch(39.89% 0.163 315.4)
XYZxyz(10.0196, 5.3975, 21.2786)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E81 #38811E
analogous
#351E81 #671E81 #811E69
triadic
#671E81 #81671E #1E8167
tetradic
#671E81 #81351E #38811E #1E6981
square
#671E81 #81351E #38811E #1E6981
split-complementary
#671E81 #69811E #1E8135
monochromatic
#18071E #3F124F #671E81 #8F2AB3 #AE46D4

Accessibility & contrast

On white

10.10
#671E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#671E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E81
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E81#FFFFFF#000000##FFFFFF
##671E811.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#1B447F
Tritanopia (blue-blind)
#65344E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671e81;
/* rgb */ color: rgb(103, 30, 129);
/* oklch */ color: oklch(39.9% 0.163 315.4);
Tailwind
colors: {
  custom: {
    50: '#9662a6',
    500: '#671e81',
    950: '#000000',
  },
}
SCSS
$custom: #671e81;
$custom-light: #9662a6;
$custom-dark: #000000;
JSON
{
  "hex": "#671e81",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 284.242,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39891,
    "c": 0.16252,
    "h": 315.4
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#671E81
secondary
#63B447
accent
#E5426D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671E81

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

Preview Lab → · Contrast checker → · Palette generator →

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