#671C82#671C82

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

Color values

HEX#671C82
RGBrgb(103, 28, 130)
HSLhsl(284, 65%, 31%)
HSVhsv(284, 78%, 51%)
CMYKcmyk(20.8%, 78.5%, 0%, 49%)
CIE-LABlab(27.64, 48.21, -41.42)
CIE-LCHlch(27.64, 63.56, 319.33°)
OKLaboklab(39.78% 0.1175 -0.1169)
OKLCHoklch(39.78% 0.166 315.2)
XYZxyz(10.0374, 5.3262, 21.6141)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C82 #37821C
analogous
#341C82 #671C82 #821C6A
triadic
#671C82 #82671C #1C8267
tetradic
#671C82 #82341C #37821C #1C6A82
square
#671C82 #82341C #37821C #1C6A82
split-complementary
#671C82 #6A821C #1C8234
monochromatic
#17061D #3F1150 #671C82 #8F27B4 #AF42D6

Accessibility & contrast

On white

10.17
#671C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#671C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C82
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C82#FFFFFF#000000##FFFFFF
##671C821.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#184380
Tritanopia (blue-blind)
#65334E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671c82;
/* rgb */ color: rgb(103, 28, 130);
/* oklch */ color: oklch(39.8% 0.166 315.2);
Tailwind
colors: {
  custom: {
    50: '#9661a7',
    500: '#671c82',
    950: '#000000',
  },
}
SCSS
$custom: #671c82;
$custom-light: #9661a7;
$custom-dark: #000000;
JSON
{
  "hex": "#671c82",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 284.118,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.16572,
    "h": 315.2
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#671C82
secondary
#62B544
accent
#E8406D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671C82

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

Preview Lab → · Contrast checker → · Palette generator →

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