#66167C#66167C

#66167C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.166 H 317.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#66167C
RGBrgb(102, 22, 124)
HSLhsl(287, 70%, 29%)
HSVhsv(287, 82%, 49%)
CMYKcmyk(17.7%, 82.3%, 0%, 51.4%)
CIE-LABlab(26.32, 48.86, -39.79)
CIE-LCHlch(26.32, 63.01, 320.84°)
OKLaboklab(38.67% 0.1225 -0.1121)
OKLCHoklch(38.67% 0.166 317.5)
XYZxyz(9.4040, 4.8543, 19.5065)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66167C #2C7C16
analogous
#33167C #66167C #7C165F
triadic
#66167C #7C6616 #167C66
tetradic
#66167C #7C3316 #2C7C16 #165F7C
square
#66167C #7C3316 #2C7C16 #165F7C
split-complementary
#66167C #5F7C16 #167C33
monochromatic
#15051A #3B0D48 #66167C #911FB0 #B632DB

Accessibility & contrast

On white

10.66
#66167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#66167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66167C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66167C#FFFFFF#000000##FFFFFF
##66167C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#19417A
Tritanopia (blue-blind)
#652E49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #66167c;
/* rgb */ color: rgb(102, 22, 124);
/* oklch */ color: oklch(38.7% 0.166 317.5);
Tailwind
colors: {
  custom: {
    50: '#955ea2',
    500: '#66167c',
    950: '#000000',
  },
}
SCSS
$custom: #66167c;
$custom-light: #955ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#66167c",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 287.059,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38667,
    "c": 0.16602,
    "h": 317.5
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#66167C
secondary
#56B13D
accent
#ED3B61
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66167C

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

Preview Lab → · Contrast checker → · Palette generator →

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