#661173#661173

#661173 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.163 H 321.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#661173
RGBrgb(102, 17, 115)
HSLhsl(292, 74%, 26%)
HSVhsv(292, 85%, 45%)
CMYKcmyk(11.3%, 85.2%, 0%, 54.9%)
CIE-LABlab(25.15, 48.60, -35.93)
CIE-LCHlch(25.15, 60.44, 323.53°)
OKLaboklab(37.64% 0.1278 -0.1007)
OKLCHoklch(37.64% 0.163 321.8)
XYZxyz(8.7741, 4.4640, 16.6158)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661173 #1E7311
analogous
#351173 #661173 #73114F
triadic
#661173 #736611 #117366
tetradic
#661173 #733511 #1E7311 #114F73
square
#661173 #733511 #1E7311 #114F73
split-complementary
#661173 #4F7311 #117335
monochromatic
#18041B #37093E #661173 #9519A8 #C521DE

Accessibility & contrast

On white

11.10
#661173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#661173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661173
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661173#FFFFFF#000000##FFFFFF
##6611731.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#203F71
Tritanopia (blue-blind)
#672743
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #661173;
/* rgb */ color: rgb(102, 17, 115);
/* oklch */ color: oklch(37.6% 0.163 321.8);
Tailwind
colors: {
  custom: {
    50: '#955c9c',
    500: '#661173',
    950: '#000000',
  },
}
SCSS
$custom: #661173;
$custom-light: #955c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#661173",
  "rgb": {
    "r": 102,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 292.041,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37641,
    "c": 0.16275,
    "h": 321.8
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#661173
secondary
#45AA36
accent
#F13750
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661173

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

Preview Lab → · Contrast checker → · Palette generator →

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