#661B93#661B93

#661B93 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.182 H 308.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#661B93
RGBrgb(102, 27, 147)
HSLhsl(278, 69%, 34%)
HSVhsv(278, 82%, 58%)
CMYKcmyk(30.6%, 81.6%, 0%, 42.4%)
CIE-LABlab(28.68, 52.07, -50.32)
CIE-LCHlch(28.68, 72.41, 315.98°)
OKLaboklab(40.89% 0.1134 -0.143)
OKLCHoklch(40.89% 0.183 308.4)
XYZxyz(11.1368, 5.7154, 28.1146)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B93 #48931B
analogous
#2A1B93 #661B93 #931B84
triadic
#661B93 #93661B #1B9366
tetradic
#661B93 #932A1B #48931B #1B8493
square
#661B93 #932A1B #48931B #1B8493
split-complementary
#661B93 #84931B #1B932A
monochromatic
#1E082C #42125F #661B93 #8A24C7 #A74BDE

Accessibility & contrast

On white

9.80
#661B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#661B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B93
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B93#FFFFFF#000000##FFFFFF
##661B931.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#5F3A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661b93;
/* rgb */ color: rgb(102, 27, 147);
/* oklch */ color: oklch(40.9% 0.182 308.4);
Tailwind
colors: {
  custom: {
    50: '#9762b4',
    500: '#661b93',
    950: '#000000',
  },
}
SCSS
$custom: #661b93;
$custom-light: #9762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661b93",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 277.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40889,
    "c": 0.1825,
    "h": 308.4
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#661B93
secondary
#76C04A
accent
#EC3C7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661B93

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

Preview Lab → · Contrast checker → · Palette generator →

#661B93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva