#66165F#66165F

#66165F is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.141 H 331.9°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#66165F
RGBrgb(102, 22, 95)
HSLhsl(305, 65%, 24%)
HSVhsv(305, 78%, 40%)
CMYKcmyk(0%, 78.4%, 6.9%, 60%)
CIE-LABlab(24.40, 43.43, -24.12)
CIE-LCHlch(24.40, 49.68, 330.95°)
OKLaboklab(36.7% 0.1245 -0.0664)
OKLCHoklch(36.7% 0.141 331.9)
XYZxyz(7.8320, 4.2255, 11.2274)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66165F #16661D
analogous
#451666 #66165F #661637
triadic
#66165F #5F6616 #165F66
tetradic
#66165F #664516 #16661D #163766
square
#66165F #664516 #16661D #163766
split-complementary
#66165F #376616 #166645
monochromatic
#190517 #340B30 #66165F #98218E #CB2CBD

Accessibility & contrast

On white

11.38
#66165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#66165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66165F
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66165F#FFFFFF#000000##FFFFFF
##66165F1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103361
Deuteranopia (green-blind)
#303E5D
Tritanopia (blue-blind)
#6B1F39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #66165f;
/* rgb */ color: rgb(102, 22, 95);
/* oklch */ color: oklch(36.7% 0.141 331.9);
Tailwind
colors: {
  custom: {
    50: '#955d8d',
    500: '#66165f',
    950: '#000000',
  },
}
SCSS
$custom: #66165f;
$custom-light: #955d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#66165f",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 305.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36697,
    "c": 0.14109,
    "h": 331.9
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#66165F
secondary
#3B9D44
accent
#E84F40
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #66165F

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

Preview Lab → · Contrast checker → · Palette generator →

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