#66179F#66179F

#66179F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.6% C 0.197 H 304.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#66179F
RGBrgb(102, 23, 159)
HSLhsl(275, 75%, 36%)
HSVhsv(275, 86%, 62%)
CMYKcmyk(35.8%, 85.5%, 0%, 37.6%)
CIE-LABlab(29.26, 56.03, -56.72)
CIE-LCHlch(29.26, 79.73, 314.65°)
OKLaboklab(41.61% 0.1127 -0.1618)
OKLCHoklch(41.61% 0.197 304.8)
XYZxyz(12.0425, 5.9408, 33.3064)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66179F #509F17
analogous
#22179F #66179F #9F1794
triadic
#66179F #9F6617 #179F66
tetradic
#66179F #9F2217 #509F17 #17949F
square
#66179F #9F2217 #509F17 #17949F
split-complementary
#66179F #949F17 #179F22
monochromatic
#210834 #440F6A #66179F #881FD4 #A54BE5

Accessibility & contrast

On white

9.60
#66179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#66179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66179F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66179F#FFFFFF#000000##FFFFFF
##66179F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#5B3E5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66179f;
/* rgb */ color: rgb(102, 23, 159);
/* oklch */ color: oklch(41.6% 0.197 304.8);
Tailwind
colors: {
  custom: {
    50: '#9861bc',
    500: '#66179f',
    950: '#000000',
  },
}
SCSS
$custom: #66179f;
$custom-light: #9861bc;
$custom-dark: #000000;
JSON
{
  "hex": "#66179f",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 274.853,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41607,
    "c": 0.19715,
    "h": 304.8
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#66179F
secondary
#7FC74B
accent
#F13685
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #66179F

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

Preview Lab → · Contrast checker → · Palette generator →

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