#661EB1#661EB1

#661EB1 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.209 H 299.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#661EB1
RGBrgb(102, 30, 177)
HSLhsl(269, 71%, 41%)
HSVhsv(269, 83%, 69%)
CMYKcmyk(42.4%, 83.1%, 0%, 30.6%)
CIE-LABlab(31.64, 57.94, -63.67)
CIE-LCHlch(31.64, 86.08, 312.30°)
OKLaboklab(43.75% 0.1021 -0.1823)
OKLCHoklch(43.75% 0.209 299.2)
XYZxyz(13.8775, 6.9275, 42.1924)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661EB1 #69B11E
analogous
#1E1FB1 #661EB1 #AF1EB1
triadic
#661EB1 #B1661E #1EB166
tetradic
#661EB1 #B11E1F #69B11E #1EB1AF
square
#661EB1 #B11E1F #69B11E #1EB1AF
split-complementary
#661EB1 #B1AF1E #1FB11E
monochromatic
#2A0C48 #48157D #661EB1 #8430DC #A365E5

Accessibility & contrast

On white

8.80
#661EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#661EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661EB1
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661EB1#FFFFFF#000000##FFFFFF
##661EB11.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#53496A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #661eb1;
/* rgb */ color: rgb(102, 30, 177);
/* oklch */ color: oklch(43.7% 0.209 299.2);
Tailwind
colors: {
  custom: {
    50: '#9965c9',
    500: '#661eb1',
    950: '#000000',
  },
}
SCSS
$custom: #661eb1;
$custom-light: #9965c9;
$custom-dark: #000000;
JSON
{
  "hex": "#661eb1",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 177
  },
  "hsl": {
    "h": 269.388,
    "s": 71.014,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43745,
    "c": 0.20888,
    "h": 299.2
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#661EB1
secondary
#96CA61
accent
#EE3A96
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #661EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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