#661180#661180

#661180 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.6% C 0.174 H 316.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#661180
RGBrgb(102, 17, 128)
HSLhsl(286, 77%, 28%)
HSVhsv(286, 87%, 50%)
CMYKcmyk(20.3%, 86.7%, 0%, 49.8%)
CIE-LABlab(26.11, 51.14, -42.65)
CIE-LCHlch(26.11, 66.59, 320.17°)
OKLaboklab(38.62% 0.1254 -0.1204)
OKLCHoklch(38.62% 0.174 316.2)
XYZxyz(9.5756, 4.7846, 20.8370)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661180 #2B8011
analogous
#2E1180 #661180 #801162
triadic
#661180 #806611 #118066
tetradic
#661180 #802E11 #2B8011 #116280
square
#661180 #802E11 #2B8011 #116280
split-complementary
#661180 #628011 #11802E
monochromatic
#16041B #3B0A4A #661180 #9118B6 #B729E3

Accessibility & contrast

On white

10.73
#661180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#661180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661180
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661180#FFFFFF#000000##FFFFFF
##6611801.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#0E407E
Tritanopia (blue-blind)
#642D4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661180;
/* rgb */ color: rgb(102, 17, 128);
/* oklch */ color: oklch(38.6% 0.174 316.2);
Tailwind
colors: {
  custom: {
    50: '#965da6',
    500: '#661180',
    950: '#000000',
  },
}
SCSS
$custom: #661180;
$custom-light: #965da6;
$custom-dark: #000000;
JSON
{
  "hex": "#661180",
  "rgb": {
    "r": 102,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 285.946,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3862,
    "c": 0.17388,
    "h": 316.2
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#661180
secondary
#55B637
accent
#F33561
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661180

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

Preview Lab → · Contrast checker → · Palette generator →

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