#661990#661990

#661990 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.182 H 309.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#661990
RGBrgb(102, 25, 144)
HSLhsl(279, 70%, 33%)
HSVhsv(279, 83%, 56%)
CMYKcmyk(29.2%, 82.6%, 0%, 43.5%)
CIE-LABlab(28.20, 52.09, -49.24)
CIE-LCHlch(28.20, 71.68, 316.61°)
OKLaboklab(40.48% 0.1157 -0.1399)
OKLCHoklch(40.48% 0.182 309.6)
XYZxyz(10.8601, 5.5339, 26.8762)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661990 #439019
analogous
#2B1990 #661990 #90197E
triadic
#661990 #906619 #199066
tetradic
#661990 #902B19 #439019 #197E90
square
#661990 #902B19 #439019 #197E90
split-complementary
#661990 #7E9019 #19902B
monochromatic
#1C0728 #41105C #661990 #8B22C4 #A845DF

Accessibility & contrast

On white

9.97
#661990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#661990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661990
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661990#FFFFFF#000000##FFFFFF
##6619901.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#603856
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661990;
/* rgb */ color: rgb(102, 25, 144);
/* oklch */ color: oklch(40.5% 0.182 309.6);
Tailwind
colors: {
  custom: {
    50: '#9661b1',
    500: '#661990',
    950: '#000000',
  },
}
SCSS
$custom: #661990;
$custom-light: #9661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661990",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 278.824,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40479,
    "c": 0.18151,
    "h": 309.6
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#661990
secondary
#70C045
accent
#ED3B7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661990

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

Preview Lab → · Contrast checker → · Palette generator →

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