#66168C#66168C

#66168C is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.180 H 311.3°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#66168C
RGBrgb(102, 22, 140)
HSLhsl(281, 73%, 32%)
HSVhsv(281, 84%, 55%)
CMYKcmyk(27.1%, 84.3%, 0%, 45.1%)
CIE-LABlab(27.55, 52.18, -47.83)
CIE-LCHlch(27.55, 70.78, 317.49°)
OKLaboklab(39.92% 0.119 -0.1357)
OKLCHoklch(39.92% 0.18 311.3)
XYZxyz(10.4991, 5.2923, 25.2743)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66168C #3C8C16
analogous
#2B168C #66168C #8C1677
triadic
#66168C #8C6616 #168C66
tetradic
#66168C #8C2B16 #3C8C16 #16778C
square
#66168C #8C2B16 #3C8C16 #16778C
split-complementary
#66168C #778C16 #168C2B
monochromatic
#190522 #3F0E57 #66168C #8D1EC1 #AB3CE0

Accessibility & contrast

On white

10.20
#66168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#66168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66168C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66168C#FFFFFF#000000##FFFFFF
##66168C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#613553
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #66168c;
/* rgb */ color: rgb(102, 22, 140);
/* oklch */ color: oklch(39.9% 0.180 311.3);
Tailwind
colors: {
  custom: {
    50: '#965fae',
    500: '#66168c',
    950: '#000000',
  },
}
SCSS
$custom: #66168c;
$custom-light: #965fae;
$custom-dark: #000000;
JSON
{
  "hex": "#66168c",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 280.678,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39922,
    "c": 0.18046,
    "h": 311.3
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#66168C
secondary
#68C03E
accent
#F03873
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #66168C

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

Preview Lab → · Contrast checker → · Palette generator →

#66168C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva