#662490#662490

#662490 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.170 H 308.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#662490
RGBrgb(102, 36, 144)
HSLhsl(277, 60%, 35%)
HSVhsv(277, 75%, 56%)
CMYKcmyk(29.2%, 75%, 0%, 43.5%)
CIE-LABlab(29.66, 47.89, -46.87)
CIE-LCHlch(29.66, 67.01, 315.61°)
OKLaboklab(41.51% 0.1059 -0.133)
OKLCHoklch(41.51% 0.17 308.5)
XYZxyz(11.1434, 6.1003, 26.9706)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662490 #4E9024
analogous
#302490 #662490 #902484
triadic
#662490 #906624 #249066
tetradic
#662490 #903024 #4E9024 #248490
square
#662490 #903024 #4E9024 #248490
split-complementary
#662490 #849024 #249030
monochromatic
#210C2E #43185F #662490 #8930C1 #A559D5

Accessibility & contrast

On white

9.46
#662490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#662490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662490
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662490#FFFFFF#000000##FFFFFF
##6624901.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#01478E
Tritanopia (blue-blind)
#5F3D58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #662490;
/* rgb */ color: rgb(102, 36, 144);
/* oklch */ color: oklch(41.5% 0.170 308.5);
Tailwind
colors: {
  custom: {
    50: '#9666b1',
    500: '#662490',
    950: '#000000',
  },
}
SCSS
$custom: #662490;
$custom-light: #9666b1;
$custom-dark: #000000;
JSON
{
  "hex": "#662490",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 276.667,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.16999,
    "h": 308.5
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#662490
secondary
#7DBA56
accent
#E34582
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #662490

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

Preview Lab → · Contrast checker → · Palette generator →

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