#661A94#661A94

#661A94 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.184 H 308.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#661A94
RGBrgb(102, 26, 148)
HSLhsl(277, 70%, 34%)
HSVhsv(277, 82%, 58%)
CMYKcmyk(31.1%, 82.4%, 0%, 42%)
CIE-LABlab(28.65, 52.63, -50.99)
CIE-LCHlch(28.65, 73.28, 315.91°)
OKLaboklab(40.89% 0.1139 -0.145)
OKLCHoklch(40.89% 0.184 308.1)
XYZxyz(11.1931, 5.7019, 28.5222)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A94 #48941A
analogous
#291A94 #661A94 #941A85
triadic
#661A94 #94661A #1A9466
tetradic
#661A94 #94291A #48941A #1A8594
square
#661A94 #94291A #48941A #1A8594
split-complementary
#661A94 #85941A #1A9429
monochromatic
#1E082C #421160 #661A94 #8A23C8 #A749DF

Accessibility & contrast

On white

9.81
#661A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#661A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A94
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A94#FFFFFF#000000##FFFFFF
##661A941.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#5E3A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661a94;
/* rgb */ color: rgb(102, 26, 148);
/* oklch */ color: oklch(40.9% 0.184 308.1);
Tailwind
colors: {
  custom: {
    50: '#9761b4',
    500: '#661a94',
    950: '#000000',
  },
}
SCSS
$custom: #661a94;
$custom-light: #9761b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661a94",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 277.377,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4089,
    "c": 0.18437,
    "h": 308.1
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#661A94
secondary
#76C149
accent
#ED3B7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661A94

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

Preview Lab → · Contrast checker → · Palette generator →

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