#66138A#66138A

#66138A is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.6% C 0.181 H 312.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#66138A
RGBrgb(102, 19, 138)
HSLhsl(282, 76%, 31%)
HSVhsv(282, 86%, 54%)
CMYKcmyk(26.1%, 86.2%, 0%, 45.9%)
CIE-LABlab(27.09, 52.64, -47.33)
CIE-LCHlch(27.09, 70.79, 318.04°)
OKLaboklab(39.55% 0.1216 -0.1342)
OKLCHoklch(39.55% 0.181 312.2)
XYZxyz(10.2990, 5.1258, 24.4867)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66138A #378A13
analogous
#2B138A #66138A #8A1372
triadic
#66138A #8A6613 #138A66
tetradic
#66138A #8A2B13 #378A13 #13728A
square
#66138A #8A2B13 #378A13 #13728A
split-complementary
#66138A #728A13 #138A2B
monochromatic
#16041E #3E0C54 #66138A #8E1AC0 #AE34E3

Accessibility & contrast

On white

10.37
#66138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#66138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66138A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66138A#FFFFFF#000000##FFFFFF
##66138A1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#623351
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #66138a;
/* rgb */ color: rgb(102, 19, 138);
/* oklch */ color: oklch(39.6% 0.181 312.2);
Tailwind
colors: {
  custom: {
    50: '#965ead',
    500: '#66138a',
    950: '#000000',
  },
}
SCSS
$custom: #66138a;
$custom-light: #965ead;
$custom-dark: #000000;
JSON
{
  "hex": "#66138a",
  "rgb": {
    "r": 102,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 281.849,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3955,
    "c": 0.1811,
    "h": 312.2
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#66138A
secondary
#62BE3A
accent
#F2356F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #66138A

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

Preview Lab → · Contrast checker → · Palette generator →

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