#671D7E#671D7E

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

Color values

HEX#671D7E
RGBrgb(103, 29, 126)
HSLhsl(286, 63%, 30%)
HSVhsv(286, 77%, 49%)
CMYKcmyk(18.3%, 77%, 0%, 50.6%)
CIE-LABlab(27.49, 47.00, -39.15)
CIE-LCHlch(27.49, 61.17, 320.20°)
OKLaboklab(39.57% 0.1171 -0.1102)
OKLCHoklch(39.57% 0.161 316.7)
XYZxyz(9.7982, 5.2691, 20.2355)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D7E #347E1D
analogous
#361D7E #671D7E #7E1D64
triadic
#671D7E #7E671D #1D7E67
tetradic
#671D7E #7E361D #347E1D #1D647E
square
#671D7E #7E361D #347E1D #1D647E
split-complementary
#671D7E #647E1D #1D7E36
monochromatic
#16061B #3E124C #671D7E #9028B0 #B142D3

Accessibility & contrast

On white

10.22
#671D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671D7E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D7E#FFFFFF#000000##FFFFFF
##671D7E1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#1E437C
Tritanopia (blue-blind)
#66324C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671d7e;
/* rgb */ color: rgb(103, 29, 126);
/* oklch */ color: oklch(39.6% 0.161 316.7);
Tailwind
colors: {
  custom: {
    50: '#9661a4',
    500: '#671d7e',
    950: '#000000',
  },
}
SCSS
$custom: #671d7e;
$custom-light: #9661a4;
$custom-dark: #000000;
JSON
{
  "hex": "#671d7e",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 285.773,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.16083,
    "h": 316.7
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#671D7E
secondary
#5FB145
accent
#E64269
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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