#671B7E#671B7E

#671B7E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.163 H 316.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#671B7E
RGBrgb(103, 27, 126)
HSLhsl(286, 65%, 30%)
HSVhsv(286, 79%, 49%)
CMYKcmyk(18.3%, 78.6%, 0%, 50.6%)
CIE-LABlab(27.23, 47.75, -39.58)
CIE-LCHlch(27.23, 62.02, 320.35°)
OKLaboklab(39.39% 0.1191 -0.1114)
OKLCHoklch(39.39% 0.163 316.9)
XYZxyz(9.7508, 5.1742, 20.2197)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B7E #327E1B
analogous
#361B7E #671B7E #7E1B63
triadic
#671B7E #7E671B #1B7E67
tetradic
#671B7E #7E361B #327E1B #1B637E
square
#671B7E #7E361B #327E1B #1B637E
split-complementary
#671B7E #637E1B #1B7E36
monochromatic
#150519 #3E104C #671B7E #9026B0 #B23ED6

Accessibility & contrast

On white

10.32
#671B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#671B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B7E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B7E#FFFFFF#000000##FFFFFF
##671B7E1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#1C427C
Tritanopia (blue-blind)
#66314C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671b7e;
/* rgb */ color: rgb(103, 27, 126);
/* oklch */ color: oklch(39.4% 0.163 316.9);
Tailwind
colors: {
  custom: {
    50: '#9661a4',
    500: '#671b7e',
    950: '#000000',
  },
}
SCSS
$custom: #671b7e;
$custom-light: #9661a4;
$custom-dark: #000000;
JSON
{
  "hex": "#671b7e",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 286.061,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.16308,
    "h": 316.9
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#671B7E
secondary
#5DB243
accent
#E84067
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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