#661793#661793

#661793 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.6% C 0.186 H 308.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#661793
RGBrgb(102, 23, 147)
HSLhsl(278, 73%, 33%)
HSVhsv(278, 84%, 58%)
CMYKcmyk(30.6%, 84.4%, 0%, 42.4%)
CIE-LABlab(28.23, 53.38, -51.05)
CIE-LCHlch(28.23, 73.86, 316.28°)
OKLaboklab(40.58% 0.1164 -0.1451)
OKLCHoklch(40.58% 0.186 308.7)
XYZxyz(11.0513, 5.5444, 28.0861)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661793 #449317
analogous
#281793 #661793 #931782
triadic
#661793 #936617 #179366
tetradic
#661793 #932817 #449317 #178293
square
#661793 #932817 #449317 #178293
split-complementary
#661793 #829317 #179328
monochromatic
#1D0629 #410F5E #661793 #8B1FC8 #A843E2

Accessibility & contrast

On white

9.96
#661793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#661793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661793
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661793#FFFFFF#000000##FFFFFF
##6617931.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#5F3957
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661793;
/* rgb */ color: rgb(102, 23, 147);
/* oklch */ color: oklch(40.6% 0.186 308.7);
Tailwind
colors: {
  custom: {
    50: '#9760b4',
    500: '#661793',
    950: '#000000',
  },
}
SCSS
$custom: #661793;
$custom-light: #9760b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661793",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 147
  },
  "hsl": {
    "h": 278.226,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40575,
    "c": 0.18603,
    "h": 308.7
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#661793
secondary
#72C244
accent
#F0387B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661793

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

Preview Lab → · Contrast checker → · Palette generator →

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