#660F5F#660F5F

#660F5F is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.148 H 331.9°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#660F5F
RGBrgb(102, 15, 95)
HSLhsl(305, 74%, 23%)
HSVhsv(305, 85%, 40%)
CMYKcmyk(0%, 85.3%, 6.9%, 60%)
CIE-LABlab(23.65, 45.60, -25.32)
CIE-LCHlch(23.65, 52.15, 330.96°)
OKLaboklab(36.16% 0.1308 -0.0698)
OKLCHoklch(36.16% 0.148 331.9)
XYZxyz(7.7159, 3.9933, 11.1887)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#660F5F #0F6616
analogous
#420F66 #660F5F #660F33
triadic
#660F5F #5F660F #0F5F66
tetradic
#660F5F #66420F #0F6616 #0F3366
square
#660F5F #66420F #0F6616 #0F3366
split-complementary
#660F5F #33660F #0F6642
monochromatic
#1B0419 #31072D #660F5F #9B1791 #D11FC2

Accessibility & contrast

On white

11.68
#660F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#660F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #660F5F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##660F5F#FFFFFF#000000##FFFFFF
##660F5F1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063161
Deuteranopia (green-blind)
#2E3C5D
Tritanopia (blue-blind)
#6B1B37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #660f5f;
/* rgb */ color: rgb(102, 15, 95);
/* oklch */ color: oklch(36.2% 0.148 331.9);
Tailwind
colors: {
  custom: {
    50: '#955a8d',
    500: '#660f5f',
    950: '#000000',
  },
}
SCSS
$custom: #660f5f;
$custom-light: #955a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#660f5f",
  "rgb": {
    "r": 102,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 304.828,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.36158,
    "c": 0.14826,
    "h": 331.9
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#660F5F
secondary
#329F3B
accent
#F14637
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #660F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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