#661870#661870

#661870 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.153 H 322.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#661870
RGBrgb(102, 24, 112)
HSLhsl(293, 65%, 27%)
HSVhsv(293, 79%, 44%)
CMYKcmyk(8.9%, 78.6%, 0%, 56.1%)
CIE-LABlab(25.71, 45.82, -33.11)
CIE-LCHlch(25.71, 56.53, 324.15°)
OKLaboklab(37.97% 0.1222 -0.0925)
OKLCHoklch(37.97% 0.153 322.9)
XYZxyz(8.7305, 4.6484, 15.7635)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661870 #227018
analogous
#3A1870 #661870 #70184E
triadic
#661870 #706618 #187066
tetradic
#661870 #703A18 #227018 #184E70
square
#661870 #703A18 #227018 #184E70
split-complementary
#661870 #4E7018 #18703A
monochromatic
#170519 #380D3E #661870 #9423A2 #C030D3

Accessibility & contrast

On white

10.88
#661870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#661870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661870
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661870#FFFFFF#000000##FFFFFF
##6618701.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#26406E
Tritanopia (blue-blind)
#682943
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661870;
/* rgb */ color: rgb(102, 24, 112);
/* oklch */ color: oklch(38.0% 0.153 322.9);
Tailwind
colors: {
  custom: {
    50: '#955f99',
    500: '#661870',
    950: '#000000',
  },
}
SCSS
$custom: #661870;
$custom-light: #955f99;
$custom-dark: #000000;
JSON
{
  "hex": "#661870",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 293.182,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3797,
    "c": 0.15327,
    "h": 322.9
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#661870
secondary
#4AA53E
accent
#E84053
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661870

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

Preview Lab → · Contrast checker → · Palette generator →

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