#66168F#66168F

#66168F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.183 H 310.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#66168F
RGBrgb(102, 22, 143)
HSLhsl(280, 73%, 32%)
HSVhsv(280, 85%, 56%)
CMYKcmyk(28.7%, 84.6%, 0%, 43.9%)
CIE-LABlab(27.80, 52.82, -49.29)
CIE-LCHlch(27.80, 72.25, 316.98°)
OKLaboklab(40.17% 0.1182 -0.14)
OKLCHoklch(40.17% 0.183 310.2)
XYZxyz(10.7233, 5.3820, 26.4552)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66168F #3F8F16
analogous
#29168F #66168F #8F167C
triadic
#66168F #8F6616 #168F66
tetradic
#66168F #8F2916 #3F8F16 #167C8F
square
#66168F #8F2916 #3F8F16 #167C8F
split-complementary
#66168F #7C8F16 #168F29
monochromatic
#1A0625 #400E5A #66168F #8C1EC4 #AA3EE1

Accessibility & contrast

On white

10.11
#66168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#66168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66168F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66168F#FFFFFF#000000##FFFFFF
##66168F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#603754
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66168f;
/* rgb */ color: rgb(102, 22, 143);
/* oklch */ color: oklch(40.2% 0.183 310.2);
Tailwind
colors: {
  custom: {
    50: '#975fb1',
    500: '#66168f',
    950: '#000000',
  },
}
SCSS
$custom: #66168f;
$custom-light: #975fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#66168f",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 279.669,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40169,
    "c": 0.1832,
    "h": 310.2
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#66168F
secondary
#6BC13F
accent
#F03876
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #66168F

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

Preview Lab → · Contrast checker → · Palette generator →

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