#661992#661992

#661992 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.183 H 308.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#661992
RGBrgb(102, 25, 146)
HSLhsl(278, 71%, 34%)
HSVhsv(278, 83%, 57%)
CMYKcmyk(30.1%, 82.9%, 0%, 42.7%)
CIE-LABlab(28.37, 52.53, -50.21)
CIE-LCHlch(28.37, 72.66, 316.29°)
OKLaboklab(40.64% 0.1152 -0.1427)
OKLCHoklch(40.64% 0.183 308.9)
XYZxyz(11.0144, 5.5956, 27.6884)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661992 #459219
analogous
#2A1992 #661992 #921981
triadic
#661992 #926619 #199266
tetradic
#661992 #922A19 #459219 #198192
square
#661992 #922A19 #459219 #198192
split-complementary
#661992 #819219 #19922A
monochromatic
#1D0729 #41105E #661992 #8B22C6 #A846DF

Accessibility & contrast

On white

9.91
#661992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661992
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661992#FFFFFF#000000##FFFFFF
##6619921.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#5F3957
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661992;
/* rgb */ color: rgb(102, 25, 146);
/* oklch */ color: oklch(40.6% 0.183 308.9);
Tailwind
colors: {
  custom: {
    50: '#9761b3',
    500: '#661992',
    950: '#000000',
  },
}
SCSS
$custom: #661992;
$custom-light: #9761b3;
$custom-dark: #000000;
JSON
{
  "hex": "#661992",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 278.182,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.18339,
    "h": 308.9
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#661992
secondary
#73C146
accent
#EE3A7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661992

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

Preview Lab → · Contrast checker → · Palette generator →

#661992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva