#661794#661794

#661794 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.187 H 308.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#661794
RGBrgb(102, 23, 148)
HSLhsl(278, 73%, 34%)
HSVhsv(278, 84%, 58%)
CMYKcmyk(31.1%, 84.5%, 0%, 42%)
CIE-LABlab(28.32, 53.60, -51.53)
CIE-LCHlch(28.32, 74.35, 316.13°)
OKLaboklab(40.66% 0.1161 -0.1466)
OKLCHoklch(40.66% 0.187 308.4)
XYZxyz(11.1301, 5.5759, 28.5012)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661794 #459417
analogous
#271794 #661794 #941783
triadic
#661794 #946617 #179466
tetradic
#661794 #942717 #459417 #178394
square
#661794 #942717 #459417 #178394
split-complementary
#661794 #839417 #179427
monochromatic
#1D072A #410F5F #661794 #8B1FC9 #A844E2

Accessibility & contrast

On white

9.93
#661794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661794
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661794#FFFFFF#000000##FFFFFF
##6617941.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#5F3958
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661794;
/* rgb */ color: rgb(102, 23, 148);
/* oklch */ color: oklch(40.7% 0.187 308.4);
Tailwind
colors: {
  custom: {
    50: '#9760b4',
    500: '#661794',
    950: '#000000',
  },
}
SCSS
$custom: #661794;
$custom-light: #9760b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661794",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 277.92,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.18695,
    "h": 308.4
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#661794
secondary
#73C344
accent
#F0387C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661794

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

Preview Lab → · Contrast checker → · Palette generator →

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