#661A90#661A90

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

Color values

HEX#661A90
RGBrgb(102, 26, 144)
HSLhsl(279, 69%, 33%)
HSVhsv(279, 82%, 56%)
CMYKcmyk(29.2%, 81.9%, 0%, 43.5%)
CIE-LABlab(28.32, 51.75, -49.06)
CIE-LCHlch(28.32, 71.31, 316.53°)
OKLaboklab(40.56% 0.1149 -0.1393)
OKLCHoklch(40.56% 0.181 309.5)
XYZxyz(10.8819, 5.5774, 26.8834)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A90 #44901A
analogous
#2B1A90 #661A90 #901A7F
triadic
#661A90 #90661A #1A9066
tetradic
#661A90 #902B1A #44901A #1A7F90
square
#661A90 #902B1A #44901A #1A7F90
split-complementary
#661A90 #7F901A #1A902B
monochromatic
#1D0728 #41115C #661A90 #8B23C4 #A847DE

Accessibility & contrast

On white

9.93
#661A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661A90
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A90#FFFFFF#000000##FFFFFF
##661A901.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.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: #661a90;
/* rgb */ color: rgb(102, 26, 144);
/* oklch */ color: oklch(40.6% 0.181 309.5);
Tailwind
colors: {
  custom: {
    50: '#9661b1',
    500: '#661a90',
    950: '#000000',
  },
}
SCSS
$custom: #661a90;
$custom-light: #9661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661a90",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 278.644,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40559,
    "c": 0.18059,
    "h": 309.5
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#661A90
secondary
#72BF47
accent
#EC3C7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661A90

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

Preview Lab → · Contrast checker → · Palette generator →

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