#661EB3#661EB3

#661EB3 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.211 H 298.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#661EB3
RGBrgb(102, 30, 179)
HSLhsl(269, 71%, 41%)
HSVhsv(269, 83%, 70%)
CMYKcmyk(43%, 83.2%, 0%, 29.8%)
CIE-LABlab(31.82, 58.41, -64.56)
CIE-LCHlch(31.82, 87.06, 312.14°)
OKLaboklab(43.93% 0.1014 -0.1849)
OKLCHoklch(43.93% 0.211 298.7)
XYZxyz(14.0783, 7.0078, 43.2500)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661EB3 #6BB31E
analogous
#1E21B3 #661EB3 #B01EB3
triadic
#661EB3 #B3661E #1EB366
tetradic
#661EB3 #B31E21 #6BB31E #1EB3B0
square
#661EB3 #B31E21 #6BB31E #1EB3B0
split-complementary
#661EB3 #B3B01E #21B31E
monochromatic
#2A0C4A #48157F #661EB3 #8432DD #A466E5

Accessibility & contrast

On white

8.74
#661EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#661EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661EB3
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661EB3#FFFFFF#000000##FFFFFF
##661EB31.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661eb3;
/* rgb */ color: rgb(102, 30, 179);
/* oklch */ color: oklch(43.9% 0.211 298.7);
Tailwind
colors: {
  custom: {
    50: '#9a65cb',
    500: '#661eb3',
    950: '#000000',
  },
}
SCSS
$custom: #661eb3;
$custom-light: #9a65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#661eb3",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 268.993,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43928,
    "c": 0.21083,
    "h": 298.7
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#661EB3
secondary
#98CB62
accent
#EE3A97
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #661EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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