#661A9F#661A9F

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

Color values

HEX#661A9F
RGBrgb(102, 26, 159)
HSLhsl(274, 72%, 36%)
HSVhsv(274, 84%, 62%)
CMYKcmyk(35.8%, 83.6%, 0%, 37.6%)
CIE-LABlab(29.58, 55.10, -56.20)
CIE-LCHlch(29.58, 78.70, 314.43°)
OKLaboklab(41.83% 0.1107 -0.1603)
OKLCHoklch(41.83% 0.195 304.6)
XYZxyz(12.1055, 6.0668, 33.3274)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A9F #539F1A
analogous
#241A9F #661A9F #9F1A96
triadic
#661A9F #9F661A #1A9F66
tetradic
#661A9F #9F241A #539F1A #1A969F
square
#661A9F #9F241A #539F1A #1A969F
split-complementary
#661A9F #969F1A #1A9F24
monochromatic
#230936 #44116A #661A9F #8823D4 #A451E3

Accessibility & contrast

On white

9.49
#661A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#661A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A9F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A9F#FFFFFF#000000##FFFFFF
##661A9F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5B3F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661a9f;
/* rgb */ color: rgb(102, 26, 159);
/* oklch */ color: oklch(41.8% 0.195 304.6);
Tailwind
colors: {
  custom: {
    50: '#9862bc',
    500: '#661a9f',
    950: '#000000',
  },
}
SCSS
$custom: #661a9f;
$custom-light: #9862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#661a9f",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 274.286,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.19479,
    "h": 304.6
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#661A9F
secondary
#82C550
accent
#EF3987
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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