#661876#661876

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

Color values

HEX#661876
RGBrgb(102, 24, 118)
HSLhsl(290, 66%, 28%)
HSVhsv(290, 80%, 46%)
CMYKcmyk(13.6%, 79.7%, 0%, 53.7%)
CIE-LABlab(26.12, 46.99, -36.29)
CIE-LCHlch(26.12, 59.38, 322.32°)
OKLaboklab(38.39% 0.1216 -0.1018)
OKLCHoklch(38.39% 0.159 320.1)
XYZxyz(9.0757, 4.7865, 17.5819)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661876 #287618
analogous
#371876 #661876 #761857
triadic
#661876 #766618 #187666
tetradic
#661876 #763718 #287618 #185776
square
#661876 #763718 #287618 #185776
split-complementary
#661876 #577618 #187637
monochromatic
#160519 #3A0E43 #661876 #9222A9 #BA33D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##661876#FFFFFF#000000##FFFFFF
##6618761.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)
#003979
Deuteranopia (green-blind)
#214074
Tritanopia (blue-blind)
#662C46
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #661876;
/* rgb */ color: rgb(102, 24, 118);
/* oklch */ color: oklch(38.4% 0.159 320.1);
Tailwind
colors: {
  custom: {
    50: '#955f9e',
    500: '#661876',
    950: '#000000',
  },
}
SCSS
$custom: #661876;
$custom-light: #955f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#661876",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 289.787,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38391,
    "c": 0.15861,
    "h": 320.1
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#661876
secondary
#51AB3F
accent
#E93F5C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661876

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

Preview Lab → · Contrast checker → · Palette generator →

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