#661F93#661F93

#661F93 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.179 H 308.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#661F93
RGBrgb(102, 31, 147)
HSLhsl(277, 65%, 35%)
HSVhsv(277, 79%, 58%)
CMYKcmyk(30.6%, 78.9%, 0%, 42.4%)
CIE-LABlab(29.19, 50.61, -49.50)
CIE-LCHlch(29.19, 70.79, 315.64°)
OKLaboklab(41.24% 0.11 -0.1406)
OKLCHoklch(41.24% 0.179 308)
XYZxyz(11.2348, 5.9115, 28.1473)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F93 #4C931F
analogous
#2C1F93 #661F93 #931F86
triadic
#661F93 #93661F #1F9366
tetradic
#661F93 #932C1F #4C931F #1F8693
square
#661F93 #932C1F #4C931F #1F8693
split-complementary
#661F93 #86931F #1F932C
monochromatic
#200A2E #431460 #661F93 #892AC6 #A652DA

Accessibility & contrast

On white

9.62
#661F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#661F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F93
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F93#FFFFFF#000000##FFFFFF
##661F931.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#5F3C59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661f93;
/* rgb */ color: rgb(102, 31, 147);
/* oklch */ color: oklch(41.2% 0.179 308.0);
Tailwind
colors: {
  custom: {
    50: '#9663b3',
    500: '#661f93',
    950: '#000000',
  },
}
SCSS
$custom: #661f93;
$custom-light: #9663b3;
$custom-dark: #000000;
JSON
{
  "hex": "#661f93",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 276.724,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.17855,
    "h": 308
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#661F93
secondary
#7BBE50
accent
#E84081
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661F93

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

Preview Lab → · Contrast checker → · Palette generator →

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