#662471#662471

#662471 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.3% C 0.139 H 321.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#662471
RGBrgb(102, 36, 113)
HSLhsl(291, 52%, 29%)
HSVhsv(291, 68%, 44%)
CMYKcmyk(9.7%, 68.1%, 0%, 55.7%)
CIE-LABlab(27.52, 41.09, -30.86)
CIE-LCHlch(27.52, 51.39, 323.09°)
OKLaboklab(39.29% 0.1088 -0.086)
OKLCHoklch(39.29% 0.139 321.7)
XYZxyz(9.0907, 5.2793, 16.1597)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662471 #2F7124
analogous
#402471 #662471 #712456
triadic
#662471 #716624 #247166
tetradic
#662471 #714024 #2F7124 #245671
square
#662471 #714024 #2F7124 #245671
split-complementary
#662471 #567124 #247140
monochromatic
#150717 #3C1543 #662471 #90339F #B44AC5

Accessibility & contrast

On white

10.22
#662471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#662471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##662471#FFFFFF#000000##FFFFFF
##6624711.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C73
Deuteranopia (green-blind)
#2D436F
Tritanopia (blue-blind)
#673147
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #662471;
/* rgb */ color: rgb(102, 36, 113);
/* oklch */ color: oklch(39.3% 0.139 321.7);
Tailwind
colors: {
  custom: {
    50: '#94649a',
    500: '#662471',
    950: '#000000',
  },
}
SCSS
$custom: #662471;
$custom-light: #94649a;
$custom-dark: #000000;
JSON
{
  "hex": "#662471",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 291.429,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39286,
    "c": 0.13873,
    "h": 321.7
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#662471
secondary
#59A44D
accent
#DB4D61
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #662471

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

Preview Lab → · Contrast checker → · Palette generator →

#662471 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva