#66128D#66128D

#66128D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.185 H 311.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#66128D
RGBrgb(102, 18, 141)
HSLhsl(281, 77%, 31%)
HSVhsv(281, 87%, 55%)
CMYKcmyk(27.7%, 87.2%, 0%, 44.7%)
CIE-LABlab(27.24, 53.54, -48.95)
CIE-LCHlch(27.24, 72.54, 317.56°)
OKLaboklab(39.73% 0.1214 -0.1389)
OKLCHoklch(39.73% 0.185 311.2)
XYZxyz(10.5026, 5.1808, 25.6409)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66128D #398D12
analogous
#29128D #66128D #8D1276
triadic
#66128D #8D6612 #128D66
tetradic
#66128D #8D2912 #398D12 #12768D
square
#66128D #8D2912 #398D12 #12768D
split-complementary
#66128D #768D12 #128D29
monochromatic
#170420 #3F0B57 #66128D #8D19C3 #AD34E5

Accessibility & contrast

On white

10.31
#66128D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#66128D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66128D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66128D#FFFFFF#000000##FFFFFF
##66128D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#613453
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #66128d;
/* rgb */ color: rgb(102, 18, 141);
/* oklch */ color: oklch(39.7% 0.185 311.2);
Tailwind
colors: {
  custom: {
    50: '#975eaf',
    500: '#66128d',
    950: '#000000',
  },
}
SCSS
$custom: #66128d;
$custom-light: #975eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#66128d",
  "rgb": {
    "r": 102,
    "g": 18,
    "b": 141
  },
  "hsl": {
    "h": 280.976,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39733,
    "c": 0.18452,
    "h": 311.2
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#66128D
secondary
#65C139
accent
#F43471
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #66128D

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

Preview Lab → · Contrast checker → · Palette generator →

#66128D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva