#642490#642490

#642490 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.169 H 307.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#642490
RGBrgb(100, 36, 144)
HSLhsl(276, 60%, 35%)
HSVhsv(276, 75%, 56%)
CMYKcmyk(30.6%, 75%, 0%, 43.5%)
CIE-LABlab(29.37, 47.49, -47.36)
CIE-LCHlch(29.37, 67.07, 315.08°)
OKLaboklab(41.24% 0.1031 -0.1345)
OKLCHoklch(41.24% 0.169 307.5)
XYZxyz(10.9194, 5.9848, 26.9601)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642490 #509024
analogous
#2E2490 #642490 #902486
triadic
#642490 #906424 #249064
tetradic
#642490 #902E24 #509024 #248690
square
#642490 #902E24 #509024 #248690
split-complementary
#642490 #869024 #24902E
monochromatic
#200C2E #42185F #642490 #8630C1 #A359D5

Accessibility & contrast

On white

9.56
#642490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#642490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642490
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642490#FFFFFF#000000##FFFFFF
##6424901.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#5D3E58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642490;
/* rgb */ color: rgb(100, 36, 144);
/* oklch */ color: oklch(41.2% 0.169 307.5);
Tailwind
colors: {
  custom: {
    50: '#9565b1',
    500: '#642490',
    950: '#000000',
  },
}
SCSS
$custom: #642490;
$custom-light: #9565b1;
$custom-dark: #000000;
JSON
{
  "hex": "#642490",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 275.556,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41238,
    "c": 0.16943,
    "h": 307.5
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#642490
secondary
#7FBA56
accent
#E34585
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642490

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

Preview Lab → · Contrast checker → · Palette generator →

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