#66156F#66156F

#66156F is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.156 H 323.5°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#66156F
RGBrgb(102, 21, 111)
HSLhsl(294, 68%, 26%)
HSVhsv(294, 81%, 44%)
CMYKcmyk(8.1%, 81.1%, 0%, 56.5%)
CIE-LABlab(25.29, 46.65, -33.13)
CIE-LCHlch(25.29, 57.22, 324.61°)
OKLaboklab(37.65% 0.1251 -0.0926)
OKLCHoklch(37.65% 0.156 323.5)
XYZxyz(8.6166, 4.5093, 15.4524)
Luminance0.0451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66156F #1E6F15
analogous
#39156F #66156F #6F154B
triadic
#66156F #6F6615 #156F66
tetradic
#66156F #6F3915 #1E6F15 #154B6F
square
#66156F #6F3915 #1E6F15 #154B6F
split-complementary
#66156F #4B6F15 #156F39
monochromatic
#18051A #370B3C #66156F #951FA2 #C528D6

Accessibility & contrast

On white

11.04
#66156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#66156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66156F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66156F#FFFFFF#000000##FFFFFF
##66156F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#263F6D
Tritanopia (blue-blind)
#682742
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #66156f;
/* rgb */ color: rgb(102, 21, 111);
/* oklch */ color: oklch(37.7% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#955d99',
    500: '#66156f',
    950: '#000000',
  },
}
SCSS
$custom: #66156f;
$custom-light: #955d99;
$custom-dark: #000000;
JSON
{
  "hex": "#66156f",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 294,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37651,
    "c": 0.15559,
    "h": 323.5
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

primary
#66156F
secondary
#45A53A
accent
#EB3D4E
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #66156F

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

Preview Lab → · Contrast checker → · Palette generator →

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