#66158F#66158F

#66158F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.1% C 0.184 H 310.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#66158F
RGBrgb(102, 21, 143)
HSLhsl(280, 74%, 32%)
HSVhsv(280, 85%, 56%)
CMYKcmyk(28.7%, 85.3%, 0%, 43.9%)
CIE-LABlab(27.69, 53.12, -49.45)
CIE-LCHlch(27.69, 72.58, 317.05°)
OKLaboklab(40.1% 0.1189 -0.1404)
OKLCHoklch(40.1% 0.184 310.2)
XYZxyz(10.7046, 5.3445, 26.4490)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66158F #3E8F15
analogous
#29158F #66158F #8F157B
triadic
#66158F #8F6615 #158F66
tetradic
#66158F #8F2915 #3E8F15 #157B8F
square
#66158F #8F2915 #3E8F15 #157B8F
split-complementary
#66158F #7B8F15 #158F29
monochromatic
#1A0524 #400D5A #66158F #8C1DC4 #AA3CE2

Accessibility & contrast

On white

10.15
#66158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#66158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66158F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66158F#FFFFFF#000000##FFFFFF
##66158F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#603654
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #66158f;
/* rgb */ color: rgb(102, 21, 143);
/* oklch */ color: oklch(40.1% 0.184 310.2);
Tailwind
colors: {
  custom: {
    50: '#975fb1',
    500: '#66158f',
    950: '#000000',
  },
}
SCSS
$custom: #66158f;
$custom-light: #975fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#66158f",
  "rgb": {
    "r": 102,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 279.836,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.18401,
    "h": 310.2
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#66158F
secondary
#6AC23E
accent
#F13775
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #66158F

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

Preview Lab → · Contrast checker → · Palette generator →

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