#662190#662190

#662190 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.173 H 308.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#662190
RGBrgb(102, 33, 144)
HSLhsl(277, 63%, 35%)
HSVhsv(277, 77%, 56%)
CMYKcmyk(29.2%, 77.1%, 0%, 43.5%)
CIE-LABlab(29.23, 49.14, -47.58)
CIE-LCHlch(29.23, 68.40, 315.92°)
OKLaboklab(41.2% 0.1088 -0.135)
OKLCHoklch(41.2% 0.173 308.9)
XYZxyz(11.0564, 5.9263, 26.9416)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662190 #4B9021
analogous
#2E2190 #662190 #902183
triadic
#662190 #906621 #219066
tetradic
#662190 #902E21 #4B9021 #218390
square
#662190 #902E21 #4B9021 #218390
split-complementary
#662190 #839021 #21902E
monochromatic
#1F0A2C #43165E #662190 #892CC2 #A654D8

Accessibility & contrast

On white

9.61
#662190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#662190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662190
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662190#FFFFFF#000000##FFFFFF
##6621901.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#603C57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #662190;
/* rgb */ color: rgb(102, 33, 144);
/* oklch */ color: oklch(41.2% 0.173 308.9);
Tailwind
colors: {
  custom: {
    50: '#9664b1',
    500: '#662190',
    950: '#000000',
  },
}
SCSS
$custom: #662190;
$custom-light: #9664b1;
$custom-dark: #000000;
JSON
{
  "hex": "#662190",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 277.297,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41195,
    "c": 0.17344,
    "h": 308.9
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#662190
secondary
#7ABB51
accent
#E64280
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #662190

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

Preview Lab → · Contrast checker → · Palette generator →

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