#661BA0#661BA0

#661BA0 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.0% C 0.195 H 304.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#661BA0
RGBrgb(102, 27, 160)
HSLhsl(274, 71%, 37%)
HSVhsv(274, 83%, 63%)
CMYKcmyk(36.2%, 83.1%, 0%, 37.3%)
CIE-LABlab(29.78, 55.00, -56.48)
CIE-LCHlch(29.78, 78.83, 314.24°)
OKLaboklab(41.99% 0.1096 -0.1611)
OKLCHoklch(41.99% 0.195 304.2)
XYZxyz(12.2151, 6.1467, 33.7938)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661BA0 #55A01B
analogous
#241BA0 #661BA0 #A01B98
triadic
#661BA0 #A0661B #1BA066
tetradic
#661BA0 #A0241B #55A01B #1B98A0
square
#661BA0 #A0241B #55A01B #1B98A0
split-complementary
#661BA0 #98A01B #1BA024
monochromatic
#230937 #45126C #661BA0 #8724D4 #A453E2

Accessibility & contrast

On white

9.42
#661BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#661BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661BA0
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661BA0#FFFFFF#000000##FFFFFF
##661BA01.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5A405F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661ba0;
/* rgb */ color: rgb(102, 27, 160);
/* oklch */ color: oklch(42.0% 0.195 304.2);
Tailwind
colors: {
  custom: {
    50: '#9862bd',
    500: '#661ba0',
    950: '#000000',
  },
}
SCSS
$custom: #661ba0;
$custom-light: #9862bd;
$custom-dark: #000000;
JSON
{
  "hex": "#661ba0",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 273.835,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.1949,
    "h": 304.2
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#661BA0
secondary
#84C552
accent
#EE3A88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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