#660260#660260

#660260 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.159 H 331.4°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#660260
RGBrgb(102, 2, 96)
HSLhsl(304, 96%, 20%)
HSVhsv(304, 98%, 40%)
CMYKcmyk(0%, 98%, 5.9%, 60%)
CIE-LABlab(22.70, 48.71, -27.48)
CIE-LCHlch(22.70, 55.93, 330.57°)
OKLaboklab(35.5% 0.1394 -0.076)
OKLCHoklch(35.5% 0.159 331.4)
XYZxyz(7.6125, 3.7134, 11.3799)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#660260 #026608
analogous
#3A0266 #660260 #66022E
triadic
#660260 #606602 #026066
tetradic
#660260 #663A02 #026608 #022E66
square
#660260 #663A02 #026608 #022E66
split-complementary
#660260 #2E6602 #02663A
monochromatic
#1E011C #2A0128 #660260 #A20398 #DE04D1

Accessibility & contrast

On white

12.05
#660260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#660260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #660260
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##660260#FFFFFF#000000##FFFFFF
##6602601.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#2A3B5E
Tritanopia (blue-blind)
#6B1536
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #660260;
/* rgb */ color: rgb(102, 2, 96);
/* oklch */ color: oklch(35.5% 0.159 331.4);
Tailwind
colors: {
  custom: {
    50: '#95578d',
    500: '#660260',
    950: '#000000',
  },
}
SCSS
$custom: #660260;
$custom-light: #95578d;
$custom-dark: #000000;
JSON
{
  "hex": "#660260",
  "rgb": {
    "r": 102,
    "g": 2,
    "b": 96
  },
  "hsl": {
    "h": 303.6,
    "s": 96.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.35505,
    "c": 0.15874,
    "h": 331.4
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#660260
secondary
#20A428
accent
#FF3629
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #660260

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

Preview Lab → · Contrast checker → · Palette generator →

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