#671E82#671E82

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

Color values

HEX#671E82
RGBrgb(103, 30, 130)
HSLhsl(284, 63%, 31%)
HSVhsv(284, 77%, 51%)
CMYKcmyk(20.8%, 76.9%, 0%, 49%)
CIE-LABlab(27.91, 47.45, -40.99)
CIE-LCHlch(27.91, 62.70, 319.18°)
OKLaboklab(39.97% 0.1156 -0.1156)
OKLCHoklch(39.97% 0.163 315)
XYZxyz(10.0864, 5.4242, 21.6304)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E82 #39821E
analogous
#351E82 #671E82 #821E6B
triadic
#671E82 #82671E #1E8267
tetradic
#671E82 #82351E #39821E #1E6B82
square
#671E82 #82351E #39821E #1E6B82
split-complementary
#671E82 #6B821E #1E8235
monochromatic
#18071F #401350 #671E82 #8E29B4 #AE46D4

Accessibility & contrast

On white

10.07
#671E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671E82
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E82#FFFFFF#000000##FFFFFF
##671E821.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#1A4480
Tritanopia (blue-blind)
#65344F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671e82;
/* rgb */ color: rgb(103, 30, 130);
/* oklch */ color: oklch(40.0% 0.163 315.0);
Tailwind
colors: {
  custom: {
    50: '#9662a7',
    500: '#671e82',
    950: '#000000',
  },
}
SCSS
$custom: #671e82;
$custom-light: #9662a7;
$custom-dark: #000000;
JSON
{
  "hex": "#671e82",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 283.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.16348,
    "h": 315
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#671E82
secondary
#65B547
accent
#E6426E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671E82

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

Preview Lab → · Contrast checker → · Palette generator →

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