#660F5B#660F5B

#660F5B is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.145 H 334.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#660F5B
RGBrgb(102, 15, 91)
HSLhsl(308, 74%, 23%)
HSVhsv(308, 85%, 40%)
CMYKcmyk(0%, 85.3%, 10.8%, 60%)
CIE-LABlab(23.41, 44.94, -23.04)
CIE-LCHlch(23.41, 50.51, 332.85°)
OKLaboklab(35.91% 0.1307 -0.0632)
OKLCHoklch(35.91% 0.145 334.2)
XYZxyz(7.5387, 3.9224, 10.2556)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#660F5B #0F661A
analogous
#450F66 #660F5B #660F2F
triadic
#660F5B #5B660F #0F5B66
tetradic
#660F5B #66450F #0F661A #0F2F66
square
#660F5B #66450F #0F661A #0F2F66
split-complementary
#660F5B #2F660F #0F6645
monochromatic
#1B0418 #31072B #660F5B #9B178B #D11FBA

Accessibility & contrast

On white

11.77
#660F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#660F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #660F5B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##660F5B#FFFFFF#000000##FFFFFF
##660F5B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#303C59
Tritanopia (blue-blind)
#6B1935
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #660f5b;
/* rgb */ color: rgb(102, 15, 91);
/* oklch */ color: oklch(35.9% 0.145 334.2);
Tailwind
colors: {
  custom: {
    50: '#955a89',
    500: '#660f5b',
    950: '#000000',
  },
}
SCSS
$custom: #660f5b;
$custom-light: #955a89;
$custom-dark: #000000;
JSON
{
  "hex": "#660f5b",
  "rgb": {
    "r": 102,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 307.586,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35913,
    "c": 0.14521,
    "h": 334.2
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#660F5B
secondary
#329F40
accent
#F14E37
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #660F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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