#66188B#66188B

#66188B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.178 H 311.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#66188B
RGBrgb(102, 24, 139)
HSLhsl(281, 71%, 32%)
HSVhsv(281, 83%, 55%)
CMYKcmyk(26.6%, 82.7%, 0%, 45.5%)
CIE-LABlab(27.69, 51.34, -46.98)
CIE-LCHlch(27.69, 69.59, 317.54°)
OKLaboklab(39.99% 0.1177 -0.1332)
OKLCHoklch(39.99% 0.178 311.5)
XYZxyz(10.4654, 5.3424, 24.9010)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66188B #3D8B18
analogous
#2D188B #66188B #8B1877
triadic
#66188B #8B6618 #188B66
tetradic
#66188B #8B2D18 #3D8B18 #18778B
square
#66188B #8B2D18 #3D8B18 #18778B
split-complementary
#66188B #778B18 #188B2D
monochromatic
#190623 #400F57 #66188B #8C21BF #AB3FDE

Accessibility & contrast

On white

10.15
#66188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66188B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66188B#FFFFFF#000000##FFFFFF
##66188B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#613552
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #66188b;
/* rgb */ color: rgb(102, 24, 139);
/* oklch */ color: oklch(40.0% 0.178 311.5);
Tailwind
colors: {
  custom: {
    50: '#9660ae',
    500: '#66188b',
    950: '#000000',
  },
}
SCSS
$custom: #66188b;
$custom-light: #9660ae;
$custom-dark: #000000;
JSON
{
  "hex": "#66188b",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 280.696,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.17777,
    "h": 311.5
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#66188B
secondary
#69BE40
accent
#ED3A74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #66188B

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

Preview Lab → · Contrast checker → · Palette generator →

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