#66188C#66188C

#66188C is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.179 H 311.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#66188C
RGBrgb(102, 24, 140)
HSLhsl(280, 71%, 32%)
HSVhsv(280, 83%, 55%)
CMYKcmyk(27.1%, 82.9%, 0%, 45.1%)
CIE-LABlab(27.77, 51.55, -47.47)
CIE-LCHlch(27.77, 70.08, 317.36°)
OKLaboklab(40.07% 0.1175 -0.1346)
OKLCHoklch(40.07% 0.179 311.1)
XYZxyz(10.5388, 5.3718, 25.2875)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66188C #3E8C18
analogous
#2C188C #66188C #8C1878
triadic
#66188C #8C6618 #188C66
tetradic
#66188C #8C2C18 #3E8C18 #18788C
square
#66188C #8C2C18 #3E8C18 #18788C
split-complementary
#66188C #788C18 #188C2C
monochromatic
#1A0624 #400F58 #66188C #8C21C0 #AA40DE

Accessibility & contrast

On white

10.12
#66188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#66188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66188C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66188C#FFFFFF#000000##FFFFFF
##66188C1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#613653
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66188c;
/* rgb */ color: rgb(102, 24, 140);
/* oklch */ color: oklch(40.1% 0.179 311.1);
Tailwind
colors: {
  custom: {
    50: '#9660ae',
    500: '#66188c',
    950: '#000000',
  },
}
SCSS
$custom: #66188c;
$custom-light: #9660ae;
$custom-dark: #000000;
JSON
{
  "hex": "#66188c",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 280.345,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.1787,
    "h": 311.1
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#66188C
secondary
#6ABF41
accent
#ED3A75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #66188C

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

Preview Lab → · Contrast checker → · Palette generator →

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