#661BA1#661BA1

#661BA1 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.196 H 303.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#661BA1
RGBrgb(102, 27, 161)
HSLhsl(274, 71%, 37%)
HSVhsv(274, 83%, 63%)
CMYKcmyk(36.6%, 83.2%, 0%, 36.9%)
CIE-LABlab(29.87, 55.22, -56.95)
CIE-LCHlch(29.87, 79.33, 314.12°)
OKLaboklab(42.08% 0.1093 -0.1625)
OKLCHoklch(42.08% 0.196 303.9)
XYZxyz(12.3029, 6.1819, 34.2564)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661BA1 #56A11B
analogous
#231BA1 #661BA1 #A11B99
triadic
#661BA1 #A1661B #1BA166
tetradic
#661BA1 #A1231B #56A11B #1B99A1
square
#661BA1 #A1231B #56A11B #1B99A1
split-complementary
#661BA1 #99A11B #1BA123
monochromatic
#240938 #45126D #661BA1 #8724D5 #A454E2

Accessibility & contrast

On white

9.39
#661BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#661BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661BA1
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661BA1#FFFFFF#000000##FFFFFF
##661BA11.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#5A4160
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661ba1;
/* rgb */ color: rgb(102, 27, 161);
/* oklch */ color: oklch(42.1% 0.196 303.9);
Tailwind
colors: {
  custom: {
    50: '#9862be',
    500: '#661ba1',
    950: '#000000',
  },
}
SCSS
$custom: #661ba1;
$custom-light: #9862be;
$custom-dark: #000000;
JSON
{
  "hex": "#661ba1",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 273.582,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42079,
    "c": 0.19586,
    "h": 303.9
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#661BA1
secondary
#85C552
accent
#EE3A89
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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