#661F68#661F68

#661F68 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.1% C 0.137 H 326.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#661F68
RGBrgb(102, 31, 104)
HSLhsl(298, 54%, 26%)
HSVhsv(298, 70%, 41%)
CMYKcmyk(1.9%, 70.2%, 0%, 59.2%)
CIE-LABlab(26.17, 41.54, -27.21)
CIE-LCHlch(26.17, 49.66, 326.78°)
OKLaboklab(38.14% 0.1148 -0.0754)
OKLCHoklch(38.14% 0.137 326.7)
XYZxyz(8.4680, 4.8048, 13.5754)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F68 #21681F
analogous
#421F68 #661F68 #681F46
triadic
#661F68 #68661F #1F6866
tetradic
#661F68 #68421F #21681F #1F4668
square
#661F68 #68421F #21681F #1F4668
split-complementary
#661F68 #46681F #1F6842
monochromatic
#170718 #381139 #661F68 #942D97 #C13CC5

Accessibility & contrast

On white

10.71
#661F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#661F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F68
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F68#FFFFFF#000000##FFFFFF
##661F681.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13386A
Deuteranopia (green-blind)
#304166
Tritanopia (blue-blind)
#692A41
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661f68;
/* rgb */ color: rgb(102, 31, 104);
/* oklch */ color: oklch(38.1% 0.137 326.7);
Tailwind
colors: {
  custom: {
    50: '#946193',
    500: '#661f68',
    950: '#000000',
  },
}
SCSS
$custom: #661f68;
$custom-light: #946193;
$custom-dark: #000000;
JSON
{
  "hex": "#661f68",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 298.356,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38139,
    "c": 0.13735,
    "h": 326.7
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#661F68
secondary
#499C46
accent
#DD4A4E
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0D050D
muted
#7E7A7E

Preview Lab

Preview with #661F68

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

Preview Lab → · Contrast checker → · Palette generator →

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