#661A93#661A93

#661A93 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.183 H 308.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#661A93
RGBrgb(102, 26, 147)
HSLhsl(278, 70%, 34%)
HSVhsv(278, 82%, 58%)
CMYKcmyk(30.6%, 82.3%, 0%, 42.4%)
CIE-LABlab(28.56, 52.41, -50.51)
CIE-LCHlch(28.56, 72.79, 316.06°)
OKLaboklab(40.81% 0.1141 -0.1436)
OKLCHoklch(40.81% 0.183 308.5)
XYZxyz(11.1142, 5.6703, 28.1071)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A93 #47931A
analogous
#2A1A93 #661A93 #931A84
triadic
#661A93 #93661A #1A9366
tetradic
#661A93 #932A1A #47931A #1A8493
square
#661A93 #932A1A #47931A #1A8493
split-complementary
#661A93 #84931A #1A932A
monochromatic
#1E082B #42115F #661A93 #8A23C7 #A749DF

Accessibility & contrast

On white

9.84
#661A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#661A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A93
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A93#FFFFFF#000000##FFFFFF
##661A931.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661a93;
/* rgb */ color: rgb(102, 26, 147);
/* oklch */ color: oklch(40.8% 0.183 308.5);
Tailwind
colors: {
  custom: {
    50: '#9761b4',
    500: '#661a93',
    950: '#000000',
  },
}
SCSS
$custom: #661a93;
$custom-light: #9761b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661a93",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 277.686,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.18342,
    "h": 308.5
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#661A93
secondary
#75C048
accent
#ED3B7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661A93

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

Preview Lab → · Contrast checker → · Palette generator →

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