#661FB3#661FB3

#661FB3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.210 H 298.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#661FB3
RGBrgb(102, 31, 179)
HSLhsl(269, 70%, 41%)
HSVhsv(269, 83%, 70%)
CMYKcmyk(43%, 82.7%, 0%, 29.8%)
CIE-LABlab(31.94, 58.07, -64.37)
CIE-LCHlch(31.94, 86.69, 312.05°)
OKLaboklab(44.01% 0.1007 -0.1843)
OKLCHoklch(44.01% 0.21 298.7)
XYZxyz(14.1041, 7.0592, 43.2586)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661FB3 #6CB31F
analogous
#1F22B3 #661FB3 #B01FB3
triadic
#661FB3 #B3661F #1FB366
tetradic
#661FB3 #B31F22 #6CB31F #1FB3B0
square
#661FB3 #B31F22 #6CB31F #1FB3B0
split-complementary
#661FB3 #B3B01F #22B31F
monochromatic
#2B0D4B #48167F #661FB3 #8433DC #A468E5

Accessibility & contrast

On white

8.71
#661FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#661FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661FB3
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661FB3#FFFFFF#000000##FFFFFF
##661FB31.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#524A6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #661fb3;
/* rgb */ color: rgb(102, 31, 179);
/* oklch */ color: oklch(44.0% 0.210 298.7);
Tailwind
colors: {
  custom: {
    50: '#9965cb',
    500: '#661fb3',
    950: '#000000',
  },
}
SCSS
$custom: #661fb3;
$custom-light: #9965cb;
$custom-dark: #000000;
JSON
{
  "hex": "#661fb3",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 179
  },
  "hsl": {
    "h": 268.784,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44008,
    "c": 0.21004,
    "h": 298.7
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#661FB3
secondary
#99CA64
accent
#ED3B98
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #661FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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