#661266#661266

#661266 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.151 H 328.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#661266
RGBrgb(102, 18, 102)
HSLhsl(300, 70%, 24%)
HSVhsv(300, 82%, 40%)
CMYKcmyk(0%, 82.4%, 0%, 60%)
CIE-LABlab(24.38, 45.94, -28.75)
CIE-LCHlch(24.38, 54.19, 327.96°)
OKLaboklab(36.82% 0.1282 -0.0798)
OKLCHoklch(36.82% 0.151 328.1)
XYZxyz(8.0940, 4.2173, 12.9555)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661266 #126612
analogous
#3C1266 #661266 #66123C
triadic
#661266 #666612 #126666
tetradic
#661266 #663C12 #126612 #123C66
square
#661266 #663C12 #126612 #123C66
split-complementary
#661266 #3C6612 #12663C
monochromatic
#1A051A #320932 #661266 #9A1B9A #CE24CE

Accessibility & contrast

On white

11.39
#661266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#661266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661266
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661266#FFFFFF#000000##FFFFFF
##6612661.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#2B3E64
Tritanopia (blue-blind)
#69213C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #661266;
/* rgb */ color: rgb(102, 18, 102);
/* oklch */ color: oklch(36.8% 0.151 328.1);
Tailwind
colors: {
  custom: {
    50: '#955c92',
    500: '#661266',
    950: '#000000',
  },
}
SCSS
$custom: #661266;
$custom-light: #955c92;
$custom-dark: #000000;
JSON
{
  "hex": "#661266",
  "rgb": {
    "r": 102,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 300,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.36815,
    "c": 0.15103,
    "h": 328.1
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#661266
secondary
#369E36
accent
#ED3B3B
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E040D
muted
#7E797E

Preview Lab

Preview with #661266

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

Preview Lab → · Contrast checker → · Palette generator →

#661266 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva