#671A82#671A82

#671A82 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.168 H 315.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#671A82
RGBrgb(103, 26, 130)
HSLhsl(284, 67%, 31%)
HSVhsv(284, 80%, 51%)
CMYKcmyk(20.8%, 80%, 0%, 49%)
CIE-LABlab(27.39, 48.94, -41.83)
CIE-LCHlch(27.39, 64.38, 319.48°)
OKLaboklab(39.6% 0.1193 -0.118)
OKLCHoklch(39.6% 0.168 315.3)
XYZxyz(9.9915, 5.2344, 21.5988)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A82 #35821A
analogous
#331A82 #671A82 #821A69
triadic
#671A82 #82671A #1A8267
tetradic
#671A82 #82331A #35821A #1A6982
square
#671A82 #82331A #35821A #1A6982
split-complementary
#671A82 #69821A #1A8233
monochromatic
#16061C #3F104F #671A82 #8F24B5 #B03ED8

Accessibility & contrast

On white

10.26
#671A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671A82
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A82#FFFFFF#000000##FFFFFF
##671A821.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#164380
Tritanopia (blue-blind)
#65324E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671a82;
/* rgb */ color: rgb(103, 26, 130);
/* oklch */ color: oklch(39.6% 0.168 315.3);
Tailwind
colors: {
  custom: {
    50: '#9660a7',
    500: '#671a82',
    950: '#000000',
  },
}
SCSS
$custom: #671a82;
$custom-light: #9660a7;
$custom-dark: #000000;
JSON
{
  "hex": "#671a82",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 284.423,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.16784,
    "h": 315.3
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#671A82
secondary
#60B642
accent
#EA3E6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671A82

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

Preview Lab → · Contrast checker → · Palette generator →

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