#66138E#66138E

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

Color values

HEX#66138E
RGBrgb(102, 19, 142)
HSLhsl(280, 76%, 32%)
HSVhsv(280, 87%, 56%)
CMYKcmyk(28.2%, 86.6%, 0%, 44.3%)
CIE-LABlab(27.42, 53.48, -49.28)
CIE-LCHlch(27.42, 72.72, 317.34°)
OKLaboklab(39.88% 0.1205 -0.1399)
OKLCHoklch(39.88% 0.185 310.7)
XYZxyz(10.5939, 5.2438, 26.0400)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66138E #3B8E13
analogous
#29138E #66138E #8E1379
triadic
#66138E #8E6613 #138E66
tetradic
#66138E #8E2913 #3B8E13 #13798E
square
#66138E #8E2913 #3B8E13 #13798E
split-complementary
#66138E #798E13 #138E29
monochromatic
#180522 #3F0C58 #66138E #8D1AC4 #AC37E4

Accessibility & contrast

On white

10.25
#66138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#66138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66138E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66138E#FFFFFF#000000##FFFFFF
##66138E1.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)
#003D91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#603553
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #66138e;
/* rgb */ color: rgb(102, 19, 142);
/* oklch */ color: oklch(39.9% 0.185 310.7);
Tailwind
colors: {
  custom: {
    50: '#975eb0',
    500: '#66138e',
    950: '#000000',
  },
}
SCSS
$custom: #66138e;
$custom-light: #975eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#66138e",
  "rgb": {
    "r": 102,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 280.488,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3988,
    "c": 0.18467,
    "h": 310.7
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#66138E
secondary
#67C23B
accent
#F33573
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #66138E

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

Preview Lab → · Contrast checker → · Palette generator →

#66138E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva