#661872#661872

#661872 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.155 H 321.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#661872
RGBrgb(102, 24, 114)
HSLhsl(292, 65%, 27%)
HSVhsv(292, 79%, 45%)
CMYKcmyk(10.5%, 78.9%, 0%, 55.3%)
CIE-LABlab(25.84, 46.21, -34.17)
CIE-LCHlch(25.84, 57.47, 323.51°)
OKLaboklab(38.11% 0.122 -0.0956)
OKLCHoklch(38.11% 0.155 321.9)
XYZxyz(8.8431, 4.6935, 16.3565)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661872 #247218
analogous
#391872 #661872 #721851
triadic
#661872 #726618 #187266
tetradic
#661872 #723918 #247218 #185172
square
#661872 #723918 #247218 #185172
split-complementary
#661872 #517218 #187239
monochromatic
#170519 #390D3F #661872 #9323A5 #BE31D4

Accessibility & contrast

On white

10.83
#661872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#661872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661872
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661872#FFFFFF#000000##FFFFFF
##6618721.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#254070
Tritanopia (blue-blind)
#672A44
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661872;
/* rgb */ color: rgb(102, 24, 114);
/* oklch */ color: oklch(38.1% 0.155 321.9);
Tailwind
colors: {
  custom: {
    50: '#955f9b',
    500: '#661872',
    950: '#000000',
  },
}
SCSS
$custom: #661872;
$custom-light: #955f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#661872",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 292,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38109,
    "c": 0.15504,
    "h": 321.9
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#661872
secondary
#4CA73E
accent
#E84056
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661872

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

Preview Lab → · Contrast checker → · Palette generator →

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