#661A9B#661A9B

#661A9B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.191 H 305.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#661A9B
RGBrgb(102, 26, 155)
HSLhsl(275, 71%, 35%)
HSVhsv(275, 83%, 61%)
CMYKcmyk(34.2%, 83.2%, 0%, 39.2%)
CIE-LABlab(29.24, 54.20, -54.32)
CIE-LCHlch(29.24, 76.74, 314.93°)
OKLaboklab(41.48% 0.1119 -0.1548)
OKLCHoklch(41.48% 0.191 305.9)
XYZxyz(11.7640, 5.9302, 31.5289)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A9B #4F9B1A
analogous
#251A9B #661A9B #9B1A8F
triadic
#661A9B #9B661A #1A9B66
tetradic
#661A9B #9B251A #4F9B1A #1A8F9B
square
#661A9B #9B251A #4F9B1A #1A8F9B
split-complementary
#661A9B #8F9B1A #1A9B25
monochromatic
#210832 #441167 #661A9B #8823CF #A54EE1

Accessibility & contrast

On white

9.61
#661A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#661A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A9B
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A9B#FFFFFF#000000##FFFFFF
##661A9B1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#5C3E5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661a9b;
/* rgb */ color: rgb(102, 26, 155);
/* oklch */ color: oklch(41.5% 0.191 305.9);
Tailwind
colors: {
  custom: {
    50: '#9762b9',
    500: '#661a9b',
    950: '#000000',
  },
}
SCSS
$custom: #661a9b;
$custom-light: #9762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#661a9b",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 155
  },
  "hsl": {
    "h": 275.349,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.19099,
    "h": 305.9
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#661A9B
secondary
#7EC44D
accent
#EE3A84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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