#66159E#66159E

#66159E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.4% C 0.198 H 305.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#66159E
RGBrgb(102, 21, 158)
HSLhsl(275, 77%, 35%)
HSVhsv(275, 87%, 62%)
CMYKcmyk(35.4%, 86.7%, 0%, 38%)
CIE-LABlab(28.98, 56.38, -56.57)
CIE-LCHlch(28.98, 79.87, 314.90°)
OKLaboklab(41.38% 0.1142 -0.1614)
OKLCHoklch(41.38% 0.198 305.3)
XYZxyz(11.9178, 5.8298, 32.8385)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66159E #4D9E15
analogous
#21159E #66159E #9E1592
triadic
#66159E #9E6615 #159E66
tetradic
#66159E #9E2115 #4D9E15 #15929E
square
#66159E #9E2115 #4D9E15 #15929E
split-complementary
#66159E #929E15 #159E21
monochromatic
#200732 #430E68 #66159E #891CD4 #A547E7

Accessibility & contrast

On white

9.70
#66159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#66159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66159E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66159E#FFFFFF#000000##FFFFFF
##66159E1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#5B3D5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #66159e;
/* rgb */ color: rgb(102, 21, 158);
/* oklch */ color: oklch(41.4% 0.198 305.3);
Tailwind
colors: {
  custom: {
    50: '#9860bc',
    500: '#66159e',
    950: '#000000',
  },
}
SCSS
$custom: #66159e;
$custom-light: #9860bc;
$custom-dark: #000000;
JSON
{
  "hex": "#66159e",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 275.474,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41384,
    "c": 0.1977,
    "h": 305.3
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#66159E
secondary
#7CC747
accent
#F33583
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #66159E

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

Preview Lab → · Contrast checker → · Palette generator →

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