#661994#661994

#661994 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.185 H 308.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#661994
RGBrgb(102, 25, 148)
HSLhsl(278, 71%, 34%)
HSVhsv(278, 83%, 58%)
CMYKcmyk(31.1%, 83.1%, 0%, 42%)
CIE-LABlab(28.53, 52.97, -51.18)
CIE-LCHlch(28.53, 73.65, 315.98°)
OKLaboklab(40.81% 0.1146 -0.1455)
OKLCHoklch(40.81% 0.185 308.2)
XYZxyz(11.1713, 5.6583, 28.5149)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661994 #479419
analogous
#291994 #661994 #941985
triadic
#661994 #946619 #199466
tetradic
#661994 #942919 #479419 #198594
square
#661994 #942919 #479419 #198594
split-complementary
#661994 #859419 #199429
monochromatic
#1E072B #421060 #661994 #8A22C8 #A747E0

Accessibility & contrast

On white

9.85
#661994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#661994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661994
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661994#FFFFFF#000000##FFFFFF
##6619941.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661994;
/* rgb */ color: rgb(102, 25, 148);
/* oklch */ color: oklch(40.8% 0.185 308.2);
Tailwind
colors: {
  custom: {
    50: '#9761b4',
    500: '#661994',
    950: '#000000',
  },
}
SCSS
$custom: #661994;
$custom-light: #9761b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661994",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 277.561,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.18526,
    "h": 308.2
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#661994
secondary
#75C147
accent
#EE3A7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661994

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

Preview Lab → · Contrast checker → · Palette generator →

#661994 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva