#661174#661174

#661174 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.164 H 321.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#661174
RGBrgb(102, 17, 116)
HSLhsl(292, 74%, 26%)
HSVhsv(292, 85%, 45%)
CMYKcmyk(12.1%, 85.3%, 0%, 54.5%)
CIE-LABlab(25.22, 48.80, -36.46)
CIE-LCHlch(25.22, 60.91, 323.24°)
OKLaboklab(37.71% 0.1277 -0.1023)
OKLCHoklch(37.71% 0.164 321.3)
XYZxyz(8.8320, 4.4871, 16.9205)
Luminance0.0449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661174 #1F7411
analogous
#341174 #661174 #741150
triadic
#661174 #746611 #117466
tetradic
#661174 #743411 #1F7411 #115074
square
#661174 #743411 #1F7411 #115074
split-complementary
#661174 #507411 #117434
monochromatic
#17041B #37093F #661174 #9519A9 #C421DE

Accessibility & contrast

On white

11.07
#661174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#661174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661174
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661174#FFFFFF#000000##FFFFFF
##6611741.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#1F3F72
Tritanopia (blue-blind)
#672744
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #661174;
/* rgb */ color: rgb(102, 17, 116);
/* oklch */ color: oklch(37.7% 0.164 321.3);
Tailwind
colors: {
  custom: {
    50: '#955c9d',
    500: '#661174',
    950: '#000000',
  },
}
SCSS
$custom: #661174;
$custom-light: #955c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#661174",
  "rgb": {
    "r": 102,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 291.515,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37713,
    "c": 0.1636,
    "h": 321.3
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#661174
secondary
#46AB36
accent
#F13751
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661174

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

Preview Lab → · Contrast checker → · Palette generator →

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