#660F5D#660F5D

#660F5D is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.147 H 333.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#660F5D
RGBrgb(102, 15, 93)
HSLhsl(306, 74%, 23%)
HSVhsv(306, 85%, 40%)
CMYKcmyk(0%, 85.3%, 8.8%, 60%)
CIE-LABlab(23.53, 45.27, -24.18)
CIE-LCHlch(23.53, 51.32, 331.89°)
OKLaboklab(36.03% 0.1308 -0.0665)
OKLCHoklch(36.03% 0.147 333.1)
XYZxyz(7.6262, 3.9574, 10.7160)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#660F5D #0F6618
analogous
#430F66 #660F5D #660F31
triadic
#660F5D #5D660F #0F5D66
tetradic
#660F5D #66430F #0F6618 #0F3166
square
#660F5D #66430F #0F6618 #0F3166
split-complementary
#660F5D #31660F #0F6643
monochromatic
#1B0418 #31072C #660F5D #9B178E #D11FBE

Accessibility & contrast

On white

11.72
#660F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#660F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #660F5D
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##660F5D#FFFFFF#000000##FFFFFF
##660F5D1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#2F3C5B
Tritanopia (blue-blind)
#6B1A36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #660f5d;
/* rgb */ color: rgb(102, 15, 93);
/* oklch */ color: oklch(36.0% 0.147 333.1);
Tailwind
colors: {
  custom: {
    50: '#955a8b',
    500: '#660f5d',
    950: '#000000',
  },
}
SCSS
$custom: #660f5d;
$custom-light: #955a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#660f5d",
  "rgb": {
    "r": 102,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 306.207,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.36034,
    "c": 0.14672,
    "h": 333.1
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#660F5D
secondary
#329F3D
accent
#F14A37
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #660F5D

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

Preview Lab → · Contrast checker → · Palette generator →

#660F5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva