#661874#661874

#661874 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.157 H 321.0°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#661874
RGBrgb(102, 24, 116)
HSLhsl(291, 66%, 27%)
HSVhsv(291, 79%, 45%)
CMYKcmyk(12.1%, 79.3%, 0%, 54.5%)
CIE-LABlab(25.98, 46.60, -35.24)
CIE-LCHlch(25.98, 58.42, 322.90°)
OKLaboklab(38.25% 0.1218 -0.0987)
OKLCHoklch(38.25% 0.157 321)
XYZxyz(8.9581, 4.7395, 16.9626)
Luminance0.0474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661874 #267418
analogous
#381874 #661874 #741854
triadic
#661874 #746618 #187466
tetradic
#661874 #743818 #267418 #185474
square
#661874 #743818 #267418 #185474
split-complementary
#661874 #547418 #187438
monochromatic
#160519 #390E41 #661874 #9322A7 #BC32D5

Accessibility & contrast

On white

10.78
#661874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#661874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661874
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661874#FFFFFF#000000##FFFFFF
##6618741.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#234072
Tritanopia (blue-blind)
#672B45
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661874;
/* rgb */ color: rgb(102, 24, 116);
/* oklch */ color: oklch(38.2% 0.157 321.0);
Tailwind
colors: {
  custom: {
    50: '#955f9c',
    500: '#661874',
    950: '#000000',
  },
}
SCSS
$custom: #661874;
$custom-light: #955f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#661874",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 290.87,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.15683,
    "h": 321
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#661874
secondary
#4FA93F
accent
#E93F59
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661874

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

Preview Lab → · Contrast checker → · Palette generator →

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