#661F72#661F72

#661F72 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.147 H 321.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#661F72
RGBrgb(102, 31, 114)
HSLhsl(291, 57%, 28%)
HSVhsv(291, 73%, 45%)
CMYKcmyk(10.5%, 72.8%, 0%, 55.3%)
CIE-LABlab(26.79, 43.50, -32.66)
CIE-LCHlch(26.79, 54.40, 323.11°)
OKLaboklab(38.79% 0.1148 -0.0912)
OKLCHoklch(38.79% 0.147 321.5)
XYZxyz(9.0064, 5.0201, 16.4109)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F72 #2B721F
analogous
#3C1F72 #661F72 #721F54
triadic
#661F72 #72661F #1F7266
tetradic
#661F72 #723C1F #2B721F #1F5472
square
#661F72 #723C1F #2B721F #1F5472
split-complementary
#661F72 #54721F #1F723C
monochromatic
#160718 #3B1242 #661F72 #912CA2 #B740CB

Accessibility & contrast

On white

10.48
#661F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#661F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F72
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F72#FFFFFF#000000##FFFFFF
##661F721.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013A74
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#672E46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661f72;
/* rgb */ color: rgb(102, 31, 114);
/* oklch */ color: oklch(38.8% 0.147 321.5);
Tailwind
colors: {
  custom: {
    50: '#95629b',
    500: '#661f72',
    950: '#000000',
  },
}
SCSS
$custom: #661f72;
$custom-light: #95629b;
$custom-dark: #000000;
JSON
{
  "hex": "#661f72",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 291.325,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38786,
    "c": 0.14661,
    "h": 321.5
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#661F72
secondary
#55A647
accent
#E0475D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661F72

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

Preview Lab → · Contrast checker → · Palette generator →

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