#661E72#661E72

#661E72 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.7% C 0.148 H 321.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#661E72
RGBrgb(102, 30, 114)
HSLhsl(291, 58%, 28%)
HSVhsv(291, 74%, 45%)
CMYKcmyk(10.5%, 73.7%, 0%, 55.3%)
CIE-LABlab(26.65, 43.92, -32.89)
CIE-LCHlch(26.65, 54.87, 323.17°)
OKLaboklab(38.68% 0.1159 -0.0919)
OKLCHoklch(38.68% 0.148 321.6)
XYZxyz(8.9807, 4.9687, 16.4023)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E72 #2A721E
analogous
#3C1E72 #661E72 #721E54
triadic
#661E72 #72661E #1E7266
tetradic
#661E72 #723C1E #2A721E #1E5472
square
#661E72 #723C1E #2A721E #1E5472
split-complementary
#661E72 #54721E #1E723C
monochromatic
#160618 #3B1142 #661E72 #912BA2 #B83ECC

Accessibility & contrast

On white

10.53
#661E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#661E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E72
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E72#FFFFFF#000000##FFFFFF
##661E721.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#284270
Tritanopia (blue-blind)
#672D46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661e72;
/* rgb */ color: rgb(102, 30, 114);
/* oklch */ color: oklch(38.7% 0.148 321.6);
Tailwind
colors: {
  custom: {
    50: '#95619b',
    500: '#661e72',
    950: '#000000',
  },
}
SCSS
$custom: #661e72;
$custom-light: #95619b;
$custom-dark: #000000;
JSON
{
  "hex": "#661e72",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 291.429,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.1479,
    "h": 321.6
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#661E72
secondary
#54A646
accent
#E2465C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661E72

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

Preview Lab → · Contrast checker → · Palette generator →

#661E72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva