#66165E#66165E

#66165E is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.6% C 0.140 H 332.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#66165E
RGBrgb(102, 22, 94)
HSLhsl(306, 65%, 24%)
HSVhsv(306, 78%, 40%)
CMYKcmyk(0%, 78.4%, 7.8%, 60%)
CIE-LABlab(24.35, 43.26, -23.56)
CIE-LCHlch(24.35, 49.25, 331.43°)
OKLaboklab(36.64% 0.1245 -0.0647)
OKLCHoklch(36.64% 0.14 332.5)
XYZxyz(7.7868, 4.2074, 10.9895)
Luminance0.0421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66165E #16661E
analogous
#461666 #66165E #661636
triadic
#66165E #5E6616 #165E66
tetradic
#66165E #664616 #16661E #163666
square
#66165E #664616 #16661E #163666
split-complementary
#66165E #366616 #166646
monochromatic
#190517 #340B30 #66165E #98218C #CB2CBB

Accessibility & contrast

On white

11.40
#66165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#66165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66165E
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66165E#FFFFFF#000000##FFFFFF
##66165E1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113360
Deuteranopia (green-blind)
#313E5C
Tritanopia (blue-blind)
#6B1F38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #66165e;
/* rgb */ color: rgb(102, 22, 94);
/* oklch */ color: oklch(36.6% 0.140 332.5);
Tailwind
colors: {
  custom: {
    50: '#955d8c',
    500: '#66165e',
    950: '#000000',
  },
}
SCSS
$custom: #66165e;
$custom-light: #955d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#66165e",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 306,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36637,
    "c": 0.14029,
    "h": 332.5
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#66165E
secondary
#3B9D45
accent
#E85140
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #66165E

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

Preview Lab → · Contrast checker → · Palette generator →

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