#66186B#66186B

#66186B is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.149 H 325.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#66186B
RGBrgb(102, 24, 107)
HSLhsl(296, 63%, 26%)
HSVhsv(296, 78%, 42%)
CMYKcmyk(4.7%, 77.6%, 0%, 58%)
CIE-LABlab(25.38, 44.87, -30.40)
CIE-LCHlch(25.38, 54.20, 325.88°)
OKLaboklab(37.63% 0.1225 -0.0846)
OKLCHoklch(37.63% 0.149 325.4)
XYZxyz(8.4598, 4.5401, 14.3378)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66186B #1D6B18
analogous
#3C186B #66186B #6B1846
triadic
#66186B #6B6618 #186B66
tetradic
#66186B #6B3C18 #1D6B18 #18466B
square
#66186B #6B3C18 #1D6B18 #18466B
split-complementary
#66186B #466B18 #186B3C
monochromatic
#180619 #360D39 #66186B #96239D #C52ECF

Accessibility & contrast

On white

11.01
#66186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#66186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66186B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66186B#FFFFFF#000000##FFFFFF
##66186B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#2A3F69
Tritanopia (blue-blind)
#682640
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #66186b;
/* rgb */ color: rgb(102, 24, 107);
/* oklch */ color: oklch(37.6% 0.149 325.4);
Tailwind
colors: {
  custom: {
    50: '#955e96',
    500: '#66186b',
    950: '#000000',
  },
}
SCSS
$custom: #66186b;
$custom-light: #955e96;
$custom-dark: #000000;
JSON
{
  "hex": "#66186b",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 296.386,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37633,
    "c": 0.14889,
    "h": 325.4
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#66186B
secondary
#44A13E
accent
#E6414B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #66186B

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

Preview Lab → · Contrast checker → · Palette generator →

#66186B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva