#661E9B#661E9B

#661E9B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.187 H 305.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#661E9B
RGBrgb(102, 30, 155)
HSLhsl(275, 68%, 36%)
HSVhsv(275, 81%, 61%)
CMYKcmyk(34.2%, 80.6%, 0%, 39.2%)
CIE-LABlab(29.71, 52.81, -53.54)
CIE-LCHlch(29.71, 75.20, 314.60°)
OKLaboklab(41.81% 0.1088 -0.1525)
OKLCHoklch(41.81% 0.187 305.5)
XYZxyz(11.8588, 6.1200, 31.5605)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E9B #539B1E
analogous
#281E9B #661E9B #9B1E92
triadic
#661E9B #9B661E #1E9B66
tetradic
#661E9B #9B281E #539B1E #1E929B
square
#661E9B #9B281E #539B1E #1E929B
split-complementary
#661E9B #929B1E #1E9B28
monochromatic
#230A34 #441468 #661E9B #8828CE #A455DE

Accessibility & contrast

On white

9.44
#661E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#661E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E9B
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E9B#FFFFFF#000000##FFFFFF
##661E9B1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#5C3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661e9b;
/* rgb */ color: rgb(102, 30, 155);
/* oklch */ color: oklch(41.8% 0.187 305.5);
Tailwind
colors: {
  custom: {
    50: '#9763b9',
    500: '#661e9b',
    950: '#000000',
  },
}
SCSS
$custom: #661e9b;
$custom-light: #9763b9;
$custom-dark: #000000;
JSON
{
  "hex": "#661e9b",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 274.56,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.18738,
    "h": 305.5
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#661E9B
secondary
#82C253
accent
#EA3D87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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