#66168E#66168E

#66168E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.182 H 310.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#66168E
RGBrgb(102, 22, 142)
HSLhsl(280, 73%, 32%)
HSVhsv(280, 85%, 56%)
CMYKcmyk(28.2%, 84.5%, 0%, 44.3%)
CIE-LABlab(27.71, 52.61, -48.80)
CIE-LCHlch(27.71, 71.76, 317.15°)
OKLaboklab(40.09% 0.1185 -0.1385)
OKLCHoklch(40.09% 0.182 310.5)
XYZxyz(10.6479, 5.3518, 26.0580)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66168E #3E8E16
analogous
#2A168E #66168E #8E167A
triadic
#66168E #8E6616 #168E66
tetradic
#66168E #8E2A16 #3E8E16 #167A8E
square
#66168E #8E2A16 #3E8E16 #167A8E
split-complementary
#66168E #7A8E16 #168E2A
monochromatic
#1A0624 #400E59 #66168E #8C1EC3 #AA3DE1

Accessibility & contrast

On white

10.14
#66168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#66168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66168E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66168E#FFFFFF#000000##FFFFFF
##66168E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#603654
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #66168e;
/* rgb */ color: rgb(102, 22, 142);
/* oklch */ color: oklch(40.1% 0.182 310.5);
Tailwind
colors: {
  custom: {
    50: '#965fb0',
    500: '#66168e',
    950: '#000000',
  },
}
SCSS
$custom: #66168e;
$custom-light: #965fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#66168e",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 280,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40086,
    "c": 0.18228,
    "h": 310.5
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#66168E
secondary
#6AC13F
accent
#F03875
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #66168E

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

Preview Lab → · Contrast checker → · Palette generator →

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