#661972#661972

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

Color values

HEX#661972
RGBrgb(102, 25, 114)
HSLhsl(292, 64%, 27%)
HSVhsv(292, 78%, 45%)
CMYKcmyk(10.5%, 78.1%, 0%, 55.3%)
CIE-LABlab(25.97, 45.85, -33.98)
CIE-LCHlch(25.97, 57.07, 323.46°)
OKLaboklab(38.2% 0.1211 -0.095)
OKLCHoklch(38.2% 0.154 321.9)
XYZxyz(8.8641, 4.7354, 16.3635)
Luminance0.0474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661972 #257219
analogous
#391972 #661972 #721952
triadic
#661972 #726619 #197266
tetradic
#661972 #723919 #257219 #195272
square
#661972 #723919 #257219 #195272
split-complementary
#661972 #527219 #197239
monochromatic
#160619 #390E40 #661972 #9324A4 #BD33D2

Accessibility & contrast

On white

10.79
#661972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#661972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661972
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661972#FFFFFF#000000##FFFFFF
##6619721.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.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: #661972;
/* rgb */ color: rgb(102, 25, 114);
/* oklch */ color: oklch(38.2% 0.154 321.9);
Tailwind
colors: {
  custom: {
    50: '#955f9b',
    500: '#661972',
    950: '#000000',
  },
}
SCSS
$custom: #661972;
$custom-light: #955f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#661972",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 291.91,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38197,
    "c": 0.15393,
    "h": 321.9
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#661972
secondary
#4EA740
accent
#E74157
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661972

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

Preview Lab → · Contrast checker → · Palette generator →

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