#661B90#661B90

#661B90 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.180 H 309.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#661B90
RGBrgb(102, 27, 144)
HSLhsl(278, 68%, 34%)
HSVhsv(278, 81%, 56%)
CMYKcmyk(29.2%, 81.3%, 0%, 43.5%)
CIE-LABlab(28.44, 51.41, -48.86)
CIE-LCHlch(28.44, 70.92, 316.45°)
OKLaboklab(40.64% 0.1141 -0.1388)
OKLCHoklch(40.64% 0.18 309.4)
XYZxyz(10.9044, 5.6225, 26.8910)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B90 #45901B
analogous
#2C1B90 #661B90 #901B7F
triadic
#661B90 #90661B #1B9066
tetradic
#661B90 #902C1B #45901B #1B7F90
square
#661B90 #902C1B #45901B #1B7F90
split-complementary
#661B90 #7F901B #1B902C
monochromatic
#1D0829 #41115C #661B90 #8B25C4 #A849DD

Accessibility & contrast

On white

9.89
#661B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B90
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B90#FFFFFF#000000##FFFFFF
##661B901.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#603956
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661b90;
/* rgb */ color: rgb(102, 27, 144);
/* oklch */ color: oklch(40.6% 0.180 309.4);
Tailwind
colors: {
  custom: {
    50: '#9661b1',
    500: '#661b90',
    950: '#000000',
  },
}
SCSS
$custom: #661b90;
$custom-light: #9661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661b90",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 278.462,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40643,
    "c": 0.17965,
    "h": 309.4
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#661B90
secondary
#73BF48
accent
#EB3D7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661B90

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

Preview Lab → · Contrast checker → · Palette generator →

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