#642090#642090

#642090 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.174 H 307.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#642090
RGBrgb(100, 32, 144)
HSLhsl(276, 64%, 35%)
HSVhsv(276, 78%, 56%)
CMYKcmyk(30.6%, 77.8%, 0%, 43.5%)
CIE-LABlab(28.79, 49.16, -48.31)
CIE-LCHlch(28.79, 68.92, 315.50°)
OKLaboklab(40.83% 0.1069 -0.1372)
OKLCHoklch(40.83% 0.174 307.9)
XYZxyz(10.8050, 5.7561, 26.9220)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642090 #4C9020
analogous
#2C2090 #642090 #902084
triadic
#642090 #906420 #209064
tetradic
#642090 #902C20 #4C9020 #208490
square
#642090 #902C20 #4C9020 #208490
split-complementary
#642090 #849020 #20902C
monochromatic
#1E0A2C #41155E #642090 #872BC2 #A452D9

Accessibility & contrast

On white

9.76
#642090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#642090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642090
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642090#FFFFFF#000000##FFFFFF
##6420901.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#5D3C57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #642090;
/* rgb */ color: rgb(100, 32, 144);
/* oklch */ color: oklch(40.8% 0.174 307.9);
Tailwind
colors: {
  custom: {
    50: '#9563b1',
    500: '#642090',
    950: '#000000',
  },
}
SCSS
$custom: #642090;
$custom-light: #9563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#642090",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 276.429,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40825,
    "c": 0.17397,
    "h": 307.9
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#642090
secondary
#7ABC50
accent
#E74182
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642090

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

Preview Lab → · Contrast checker → · Palette generator →

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