#642190#642190

#642190 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.173 H 307.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#642190
RGBrgb(100, 33, 144)
HSLhsl(276, 63%, 35%)
HSVhsv(276, 77%, 56%)
CMYKcmyk(30.6%, 77.1%, 0%, 43.5%)
CIE-LABlab(28.93, 48.75, -48.08)
CIE-LCHlch(28.93, 68.47, 315.40°)
OKLaboklab(40.92% 0.106 -0.1366)
OKLCHoklch(40.92% 0.173 307.8)
XYZxyz(10.8324, 5.8108, 26.9311)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642190 #4D9021
analogous
#2C2190 #642190 #902185
triadic
#642190 #906421 #219064
tetradic
#642190 #902C21 #4D9021 #218590
square
#642190 #902C21 #4D9021 #218590
split-complementary
#642190 #859021 #21902C
monochromatic
#1F0A2C #41165E #642190 #872CC2 #A354D8

Accessibility & contrast

On white

9.71
#642190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#642190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642190
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642190#FFFFFF#000000##FFFFFF
##6421901.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #642190;
/* rgb */ color: rgb(100, 33, 144);
/* oklch */ color: oklch(40.9% 0.173 307.8);
Tailwind
colors: {
  custom: {
    50: '#9564b1',
    500: '#642190',
    950: '#000000',
  },
}
SCSS
$custom: #642190;
$custom-light: #9564b1;
$custom-dark: #000000;
JSON
{
  "hex": "#642190",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 276.216,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40925,
    "c": 0.17287,
    "h": 307.8
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#642190
secondary
#7BBB51
accent
#E64283
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642190

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

Preview Lab → · Contrast checker → · Palette generator →

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