#661A91#661A91

#661A91 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.182 H 309.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#661A91
RGBrgb(102, 26, 145)
HSLhsl(278, 70%, 34%)
HSVhsv(278, 82%, 57%)
CMYKcmyk(29.7%, 82.1%, 0%, 43.1%)
CIE-LABlab(28.40, 51.97, -49.54)
CIE-LCHlch(28.40, 71.80, 316.37°)
OKLaboklab(40.64% 0.1147 -0.1407)
OKLCHoklch(40.64% 0.182 309.2)
XYZxyz(10.9587, 5.6081, 27.2878)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A91 #45911A
analogous
#2A1A91 #661A91 #911A80
triadic
#661A91 #91661A #1A9166
tetradic
#661A91 #912A1A #45911A #1A8091
square
#661A91 #912A1A #45911A #1A8091
split-complementary
#661A91 #80911A #1A912A
monochromatic
#1D0729 #41115D #661A91 #8B23C5 #A847DE

Accessibility & contrast

On white

9.90
#661A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A91
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A91#FFFFFF#000000##FFFFFF
##661A911.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#5F3956
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661a91;
/* rgb */ color: rgb(102, 26, 145);
/* oklch */ color: oklch(40.6% 0.182 309.2);
Tailwind
colors: {
  custom: {
    50: '#9761b2',
    500: '#661a91',
    950: '#000000',
  },
}
SCSS
$custom: #661a91;
$custom-light: #9761b2;
$custom-dark: #000000;
JSON
{
  "hex": "#661a91",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 278.319,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.18153,
    "h": 309.2
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#661A91
secondary
#73C047
accent
#EC3B7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661A91

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

Preview Lab → · Contrast checker → · Palette generator →

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