#661A8D#661A8D

#661A8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.178 H 310.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#661A8D
RGBrgb(102, 26, 141)
HSLhsl(280, 69%, 33%)
HSVhsv(280, 82%, 55%)
CMYKcmyk(27.7%, 81.6%, 0%, 44.7%)
CIE-LABlab(28.08, 51.10, -47.59)
CIE-LCHlch(28.08, 69.83, 317.04°)
OKLaboklab(40.32% 0.1157 -0.135)
OKLCHoklch(40.32% 0.178 310.6)
XYZxyz(10.6557, 5.4869, 25.6919)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A8D #418D1A
analogous
#2C1A8D #661A8D #8D1A7A
triadic
#661A8D #8D661A #1A8D66
tetradic
#661A8D #8D2C1A #418D1A #1A7A8D
square
#661A8D #8D2C1A #418D1A #1A7A8D
split-complementary
#661A8D #7A8D1A #1A8D2C
monochromatic
#1B0726 #411059 #661A8D #8B24C1 #A945DD

Accessibility & contrast

On white

10.01
#661A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#661A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A8D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A8D#FFFFFF#000000##FFFFFF
##661A8D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#613754
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661a8d;
/* rgb */ color: rgb(102, 26, 141);
/* oklch */ color: oklch(40.3% 0.178 310.6);
Tailwind
colors: {
  custom: {
    50: '#9661af',
    500: '#661a8d',
    950: '#000000',
  },
}
SCSS
$custom: #661a8d;
$custom-light: #9661af;
$custom-dark: #000000;
JSON
{
  "hex": "#661a8d",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 279.652,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.17777,
    "h": 310.6
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#661A8D
secondary
#6EBE45
accent
#EC3C78
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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