#661FA8#661FA8

#661FA8 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.199 H 301.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#661FA8
RGBrgb(102, 31, 168)
HSLhsl(271, 69%, 39%)
HSVhsv(271, 82%, 66%)
CMYKcmyk(39.3%, 81.5%, 0%, 34.1%)
CIE-LABlab(30.95, 55.46, -59.40)
CIE-LCHlch(30.95, 81.27, 313.04°)
OKLaboklab(43.02% 0.1043 -0.1697)
OKLCHoklch(43.02% 0.199 301.6)
XYZxyz(13.0356, 6.6318, 37.6315)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661FA8 #61A81F
analogous
#221FA8 #661FA8 #A81FA6
triadic
#661FA8 #A8661F #1FA866
tetradic
#661FA8 #A8221F #61A81F #1FA6A8
square
#661FA8 #A8221F #61A81F #1FA6A8
split-complementary
#661FA8 #A6A81F #1FA822
monochromatic
#270C41 #471574 #661FA8 #852CD8 #A360E2

Accessibility & contrast

On white

9.03
#661FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661FA8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661FA8#FFFFFF#000000##FFFFFF
##661FA81.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#574565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #661fa8;
/* rgb */ color: rgb(102, 31, 168);
/* oklch */ color: oklch(43.0% 0.199 301.6);
Tailwind
colors: {
  custom: {
    50: '#9864c3',
    500: '#661fa8',
    950: '#000000',
  },
}
SCSS
$custom: #661fa8;
$custom-light: #9864c3;
$custom-dark: #000000;
JSON
{
  "hex": "#661fa8",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 271.095,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43022,
    "c": 0.19921,
    "h": 301.6
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#661FA8
secondary
#8FC65D
accent
#EC3C91
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #661FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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