#661673#661673

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

Color values

HEX#661673
RGBrgb(102, 22, 115)
HSLhsl(292, 68%, 27%)
HSVhsv(292, 81%, 45%)
CMYKcmyk(11.3%, 80.9%, 0%, 54.9%)
CIE-LABlab(25.67, 47.08, -35.09)
CIE-LCHlch(25.67, 58.72, 323.31°)
OKLaboklab(38.01% 0.1238 -0.0983)
OKLCHoklch(38.01% 0.158 321.5)
XYZxyz(8.8606, 4.6369, 16.6446)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661673 #237316
analogous
#381673 #661673 #731652
triadic
#661673 #736616 #167366
tetradic
#661673 #733816 #237316 #165273
square
#661673 #733816 #237316 #165273
split-complementary
#661673 #527316 #167338
monochromatic
#17051A #380C40 #661673 #9420A6 #BF2DD7

Accessibility & contrast

On white

10.90
#661673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661673
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661673#FFFFFF#000000##FFFFFF
##6616731.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661673;
/* rgb */ color: rgb(102, 22, 115);
/* oklch */ color: oklch(38.0% 0.158 321.5);
Tailwind
colors: {
  custom: {
    50: '#955e9c',
    500: '#661673',
    950: '#000000',
  },
}
SCSS
$custom: #661673;
$custom-light: #955e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#661673",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 291.613,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38011,
    "c": 0.15804,
    "h": 321.5
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#661673
secondary
#4BA93C
accent
#EB3D55
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661673

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

Preview Lab → · Contrast checker → · Palette generator →

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