#66179E#66179E

#66179E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.196 H 305.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#66179E
RGBrgb(102, 23, 158)
HSLhsl(275, 75%, 35%)
HSVhsv(275, 85%, 62%)
CMYKcmyk(35.4%, 85.4%, 0%, 38%)
CIE-LABlab(29.17, 55.81, -56.25)
CIE-LCHlch(29.17, 79.24, 314.77°)
OKLaboklab(41.52% 0.113 -0.1604)
OKLCHoklch(41.52% 0.196 305.2)
XYZxyz(11.9560, 5.9063, 32.8513)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66179E #4F9E17
analogous
#22179E #66179E #9E1792
triadic
#66179E #9E6617 #179E66
tetradic
#66179E #9E2217 #4F9E17 #17929E
square
#66179E #9E2217 #4F9E17 #17929E
split-complementary
#66179E #929E17 #179E22
monochromatic
#210733 #440F69 #66179E #881FD3 #A54BE5

Accessibility & contrast

On white

9.63
#66179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#66179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66179E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66179E#FFFFFF#000000##FFFFFF
##66179E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#5B3E5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66179e;
/* rgb */ color: rgb(102, 23, 158);
/* oklch */ color: oklch(41.5% 0.196 305.2);
Tailwind
colors: {
  custom: {
    50: '#9861bc',
    500: '#66179e',
    950: '#000000',
  },
}
SCSS
$custom: #66179e;
$custom-light: #9861bc;
$custom-dark: #000000;
JSON
{
  "hex": "#66179e",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 275.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.19623,
    "h": 305.2
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#66179E
secondary
#7EC64A
accent
#F13784
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #66179E

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

Preview Lab → · Contrast checker → · Palette generator →

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