#661F99#661F99

#661F99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.184 H 306.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#661F99
RGBrgb(102, 31, 153)
HSLhsl(275, 66%, 36%)
HSVhsv(275, 80%, 60%)
CMYKcmyk(33.3%, 79.7%, 0%, 40%)
CIE-LABlab(29.68, 51.98, -52.38)
CIE-LCHlch(29.68, 73.79, 314.78°)
OKLaboklab(41.74% 0.1085 -0.1491)
OKLCHoklch(41.74% 0.184 306)
XYZxyz(11.7180, 6.1048, 30.6918)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F99 #52991F
analogous
#291F99 #661F99 #991F8F
triadic
#661F99 #99661F #1F9966
tetradic
#661F99 #99291F #52991F #1F8F99
square
#661F99 #99291F #52991F #1F8F99
split-complementary
#661F99 #8F991F #1F9929
monochromatic
#220A33 #441566 #661F99 #8829CC #A456DD

Accessibility & contrast

On white

9.46
#661F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#661F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F99
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F99#FFFFFF#000000##FFFFFF
##661F991.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#5D3F5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661f99;
/* rgb */ color: rgb(102, 31, 153);
/* oklch */ color: oklch(41.7% 0.184 306.0);
Tailwind
colors: {
  custom: {
    50: '#9764b8',
    500: '#661f99',
    950: '#000000',
  },
}
SCSS
$custom: #661f99;
$custom-light: #9764b8;
$custom-dark: #000000;
JSON
{
  "hex": "#661f99",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 274.918,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41736,
    "c": 0.18444,
    "h": 306
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#661F99
secondary
#81C054
accent
#E93F86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661F99

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

Preview Lab → · Contrast checker → · Palette generator →

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