#66139A#66139A

#66139A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.9% C 0.195 H 306.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#66139A
RGBrgb(102, 19, 154)
HSLhsl(277, 78%, 34%)
HSVhsv(277, 88%, 60%)
CMYKcmyk(33.8%, 87.7%, 0%, 39.6%)
CIE-LABlab(28.44, 56.05, -55.01)
CIE-LCHlch(28.44, 78.53, 315.54°)
OKLaboklab(40.91% 0.1168 -0.1567)
OKLCHoklch(40.91% 0.195 306.7)
XYZxyz(11.5438, 5.6237, 31.0429)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66139A #479A13
analogous
#23139A #66139A #9A138B
triadic
#66139A #9A6613 #139A66
tetradic
#66139A #9A2313 #479A13 #138B9A
square
#66139A #9A2313 #479A13 #138B9A
split-complementary
#66139A #8B9A13 #139A23
monochromatic
#1E062D #420C64 #66139A #8A1AD0 #A740E7

Accessibility & contrast

On white

9.88
#66139A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#66139A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66139A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66139A#FFFFFF#000000##FFFFFF
##66139A1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#5D3B5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #66139a;
/* rgb */ color: rgb(102, 19, 154);
/* oklch */ color: oklch(40.9% 0.195 306.7);
Tailwind
colors: {
  custom: {
    50: '#985fb9',
    500: '#66139a',
    950: '#000000',
  },
}
SCSS
$custom: #66139a;
$custom-light: #985fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#66139a",
  "rgb": {
    "r": 102,
    "g": 19,
    "b": 154
  },
  "hsl": {
    "h": 276.889,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40906,
    "c": 0.19545,
    "h": 306.7
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#66139A
secondary
#75C741
accent
#F5337E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #66139A

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

Preview Lab → · Contrast checker → · Palette generator →

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