#661F92#661F92

#661F92 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.178 H 308.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#661F92
RGBrgb(102, 31, 146)
HSLhsl(277, 65%, 35%)
HSVhsv(277, 79%, 57%)
CMYKcmyk(30.1%, 78.8%, 0%, 42.7%)
CIE-LABlab(29.11, 50.38, -49.01)
CIE-LCHlch(29.11, 70.29, 315.79°)
OKLaboklab(41.16% 0.1102 -0.1392)
OKLCHoklch(41.16% 0.178 308.4)
XYZxyz(11.1567, 5.8803, 27.7358)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F92 #4B921F
analogous
#2C1F92 #661F92 #921F85
triadic
#661F92 #92661F #1F9266
tetradic
#661F92 #922C1F #4B921F #1F8592
square
#661F92 #922C1F #4B921F #1F8592
split-complementary
#661F92 #85921F #1F922C
monochromatic
#1F0A2D #431460 #661F92 #892AC4 #A651DA

Accessibility & contrast

On white

9.65
#661F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#661F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F92
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F92#FFFFFF#000000##FFFFFF
##661F921.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#5F3C58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661f92;
/* rgb */ color: rgb(102, 31, 146);
/* oklch */ color: oklch(41.2% 0.178 308.4);
Tailwind
colors: {
  custom: {
    50: '#9663b3',
    500: '#661f92',
    950: '#000000',
  },
}
SCSS
$custom: #661f92;
$custom-light: #9663b3;
$custom-dark: #000000;
JSON
{
  "hex": "#661f92",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 277.043,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41162,
    "c": 0.17757,
    "h": 308.4
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#661F92
secondary
#7ABD50
accent
#E84080
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661F92

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

Preview Lab → · Contrast checker → · Palette generator →

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