#661672#661672

#661672 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.157 H 322.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#661672
RGBrgb(102, 22, 114)
HSLhsl(292, 68%, 27%)
HSVhsv(292, 81%, 45%)
CMYKcmyk(10.5%, 80.7%, 0%, 55.3%)
CIE-LABlab(25.61, 46.89, -34.56)
CIE-LCHlch(25.61, 58.25, 323.61°)
OKLaboklab(37.94% 0.1239 -0.0967)
OKLCHoklch(37.94% 0.157 322)
XYZxyz(8.8033, 4.6140, 16.3432)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661672 #227216
analogous
#381672 #661672 #721650
triadic
#661672 #726616 #167266
tetradic
#661672 #723816 #227216 #165072
square
#661672 #723816 #227216 #165072
split-complementary
#661672 #507216 #167238
monochromatic
#17051A #380C3F #661672 #9420A5 #C02CD6

Accessibility & contrast

On white

10.92
#661672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#661672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661672
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661672#FFFFFF#000000##FFFFFF
##6616721.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#244070
Tritanopia (blue-blind)
#672944
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661672;
/* rgb */ color: rgb(102, 22, 114);
/* oklch */ color: oklch(37.9% 0.157 322.0);
Tailwind
colors: {
  custom: {
    50: '#955e9b',
    500: '#661672',
    950: '#000000',
  },
}
SCSS
$custom: #661672;
$custom-light: #955e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#661672",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 292.174,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3794,
    "c": 0.15717,
    "h": 322
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#661672
secondary
#4AA83C
accent
#EB3D54
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661672

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

Preview Lab → · Contrast checker → · Palette generator →

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