#66128F#66128F

#66128F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.9% C 0.186 H 310.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#66128F
RGBrgb(102, 18, 143)
HSLhsl(280, 78%, 32%)
HSVhsv(280, 87%, 56%)
CMYKcmyk(28.7%, 87.4%, 0%, 43.9%)
CIE-LABlab(27.41, 53.96, -49.92)
CIE-LCHlch(27.41, 73.51, 317.23°)
OKLaboklab(39.9% 0.1208 -0.1418)
OKLCHoklch(39.9% 0.186 310.4)
XYZxyz(10.6527, 5.2408, 26.4317)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66128F #3B8F12
analogous
#28128F #66128F #8F127A
triadic
#66128F #8F6612 #128F66
tetradic
#66128F #8F2812 #3B8F12 #127A8F
square
#66128F #8F2812 #3B8F12 #127A8F
split-complementary
#66128F #7A8F12 #128F28
monochromatic
#180422 #3F0B59 #66128F #8D19C5 #AC36E6

Accessibility & contrast

On white

10.25
#66128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#66128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66128F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66128F#FFFFFF#000000##FFFFFF
##66128F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#603554
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #66128f;
/* rgb */ color: rgb(102, 18, 143);
/* oklch */ color: oklch(39.9% 0.186 310.4);
Tailwind
colors: {
  custom: {
    50: '#975eb1',
    500: '#66128f',
    950: '#000000',
  },
}
SCSS
$custom: #66128f;
$custom-light: #975eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#66128f",
  "rgb": {
    "r": 102,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 280.32,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39901,
    "c": 0.1863,
    "h": 310.4
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#66128F
secondary
#67C33A
accent
#F43473
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #66128F

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

Preview Lab → · Contrast checker → · Palette generator →

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