#661FA9#661FA9

#661FA9 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.1% C 0.200 H 301.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#661FA9
RGBrgb(102, 31, 169)
HSLhsl(271, 69%, 39%)
HSVhsv(271, 82%, 66%)
CMYKcmyk(39.6%, 81.7%, 0%, 33.7%)
CIE-LABlab(31.04, 55.70, -59.86)
CIE-LCHlch(31.04, 81.76, 312.94°)
OKLaboklab(43.11% 0.104 -0.1711)
OKLCHoklch(43.11% 0.2 301.3)
XYZxyz(13.1291, 6.6692, 38.1240)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661FA9 #62A91F
analogous
#211FA9 #661FA9 #A91FA7
triadic
#661FA9 #A9661F #1FA966
tetradic
#661FA9 #A9211F #62A91F #1FA7A9
square
#661FA9 #A9211F #62A91F #1FA7A9
split-complementary
#661FA9 #A7A91F #1FA921
monochromatic
#280C42 #471675 #661FA9 #852DD8 #A360E2

Accessibility & contrast

On white

9.00
#661FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#661FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661FA9
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661FA9#FFFFFF#000000##FFFFFF
##661FA91.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#574665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #661fa9;
/* rgb */ color: rgb(102, 31, 169);
/* oklch */ color: oklch(43.1% 0.200 301.3);
Tailwind
colors: {
  custom: {
    50: '#9865c4',
    500: '#661fa9',
    950: '#000000',
  },
}
SCSS
$custom: #661fa9;
$custom-light: #9865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#661fa9",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 270.87,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4311,
    "c": 0.20019,
    "h": 301.3
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#661FA9
secondary
#90C75D
accent
#EC3C91
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #661FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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