#661FAA#661FAA

#661FAA is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.2% C 0.201 H 301.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#661FAA
RGBrgb(102, 31, 170)
HSLhsl(271, 69%, 39%)
HSVhsv(271, 82%, 67%)
CMYKcmyk(40%, 81.8%, 0%, 33.3%)
CIE-LABlab(31.13, 55.94, -60.31)
CIE-LCHlch(31.13, 82.26, 312.84°)
OKLaboklab(43.2% 0.1037 -0.1724)
OKLCHoklch(43.2% 0.201 301)
XYZxyz(13.2234, 6.7069, 38.6203)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661FAA #63AA1F
analogous
#201FAA #661FAA #AA1FA9
triadic
#661FAA #AA661F #1FAA66
tetradic
#661FAA #AA201F #63AA1F #1FA9AA
square
#661FAA #AA201F #63AA1F #1FA9AA
split-complementary
#661FAA #A9AA1F #1FAA20
monochromatic
#280C42 #471676 #661FAA #852DD9 #A361E2

Accessibility & contrast

On white

8.97
#661FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#661FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661FAA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661FAA#FFFFFF#000000##FFFFFF
##661FAA1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#564666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #661faa;
/* rgb */ color: rgb(102, 31, 170);
/* oklch */ color: oklch(43.2% 0.201 301.0);
Tailwind
colors: {
  custom: {
    50: '#9965c4',
    500: '#661faa',
    950: '#000000',
  },
}
SCSS
$custom: #661faa;
$custom-light: #9965c4;
$custom-dark: #000000;
JSON
{
  "hex": "#661faa",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 270.647,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.20118,
    "h": 301
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#661FAA
secondary
#91C75E
accent
#EC3C92
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #661FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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