#661B92#661B92

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

Color values

HEX#661B92
RGBrgb(102, 27, 146)
HSLhsl(278, 69%, 34%)
HSVhsv(278, 82%, 57%)
CMYKcmyk(30.1%, 81.5%, 0%, 42.7%)
CIE-LABlab(28.60, 51.85, -49.83)
CIE-LCHlch(28.60, 71.91, 316.14°)
OKLaboklab(40.81% 0.1136 -0.1416)
OKLCHoklch(40.81% 0.182 308.7)
XYZxyz(11.0587, 5.6842, 27.7031)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B92 #47921B
analogous
#2B1B92 #661B92 #921B83
triadic
#661B92 #92661B #1B9266
tetradic
#661B92 #922B1B #47921B #1B8392
square
#661B92 #922B1B #47921B #1B8392
split-complementary
#661B92 #83921B #1B922B
monochromatic
#1E082B #42115E #661B92 #8A25C6 #A74ADE

Accessibility & contrast

On white

9.83
#661B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661B92
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B92#FFFFFF#000000##FFFFFF
##661B921.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661b92;
/* rgb */ color: rgb(102, 27, 146);
/* oklch */ color: oklch(40.8% 0.182 308.7);
Tailwind
colors: {
  custom: {
    50: '#9762b3',
    500: '#661b92',
    950: '#000000',
  },
}
SCSS
$custom: #661b92;
$custom-light: #9762b3;
$custom-dark: #000000;
JSON
{
  "hex": "#661b92",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 277.815,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40806,
    "c": 0.18155,
    "h": 308.7
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#661B92
secondary
#75BF49
accent
#EC3C7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661B92

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

Preview Lab → · Contrast checker → · Palette generator →

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