#661792#661792

#661792 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.185 H 309.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#661792
RGBrgb(102, 23, 146)
HSLhsl(279, 73%, 33%)
HSVhsv(279, 84%, 57%)
CMYKcmyk(30.1%, 84.2%, 0%, 42.7%)
CIE-LABlab(28.15, 53.16, -50.57)
CIE-LCHlch(28.15, 73.37, 316.43°)
OKLaboklab(40.49% 0.1166 -0.1437)
OKLCHoklch(40.49% 0.185 309.1)
XYZxyz(10.9731, 5.5131, 27.6746)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661792 #439217
analogous
#291792 #661792 #921780
triadic
#661792 #926617 #179266
tetradic
#661792 #922917 #439217 #178092
square
#661792 #922917 #439217 #178092
split-complementary
#661792 #809217 #179229
monochromatic
#1C0628 #410F5D #661792 #8B1FC7 #A842E1

Accessibility & contrast

On white

9.99
#661792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#661792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661792
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661792#FFFFFF#000000##FFFFFF
##6617921.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#5F3856
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661792;
/* rgb */ color: rgb(102, 23, 146);
/* oklch */ color: oklch(40.5% 0.185 309.1);
Tailwind
colors: {
  custom: {
    50: '#9760b3',
    500: '#661792',
    950: '#000000',
  },
}
SCSS
$custom: #661792;
$custom-light: #9760b3;
$custom-dark: #000000;
JSON
{
  "hex": "#661792",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 146
  },
  "hsl": {
    "h": 278.537,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.18511,
    "h": 309.1
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#661792
secondary
#70C243
accent
#EF387A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661792

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

Preview Lab → · Contrast checker → · Palette generator →

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