#661F77#661F77

#661F77 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.151 H 319.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#661F77
RGBrgb(102, 31, 119)
HSLhsl(288, 59%, 29%)
HSVhsv(288, 74%, 47%)
CMYKcmyk(14.3%, 73.9%, 0%, 53.3%)
CIE-LABlab(27.12, 44.52, -35.32)
CIE-LCHlch(27.12, 56.83, 321.58°)
OKLaboklab(39.13% 0.1145 -0.099)
OKLCHoklch(39.13% 0.151 319.1)
XYZxyz(9.2988, 5.1371, 17.9509)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F77 #30771F
analogous
#3A1F77 #661F77 #771F5C
triadic
#661F77 #77661F #1F7766
tetradic
#661F77 #773A1F #30771F #1F5C77
square
#661F77 #773A1F #30771F #1F5C77
split-complementary
#661F77 #5C771F #1F773A
monochromatic
#150618 #3C1246 #661F77 #902CA8 #B343CE

Accessibility & contrast

On white

10.36
#661F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#661F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F77
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F77#FFFFFF#000000##FFFFFF
##661F771.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#254275
Tritanopia (blue-blind)
#663049
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661f77;
/* rgb */ color: rgb(102, 31, 119);
/* oklch */ color: oklch(39.1% 0.151 319.1);
Tailwind
colors: {
  custom: {
    50: '#95629f',
    500: '#661f77',
    950: '#000000',
  },
}
SCSS
$custom: #661f77;
$custom-light: #95629f;
$custom-dark: #000000;
JSON
{
  "hex": "#661f77",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 288.409,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39127,
    "c": 0.15135,
    "h": 319.1
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#661F77
secondary
#5AAB47
accent
#E24664
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661F77

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

Preview Lab → · Contrast checker → · Palette generator →

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