#642390#642390

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

Color values

HEX#642390
RGBrgb(100, 35, 144)
HSLhsl(276, 61%, 35%)
HSVhsv(276, 76%, 56%)
CMYKcmyk(30.6%, 75.7%, 0%, 43.5%)
CIE-LABlab(29.22, 47.92, -47.60)
CIE-LCHlch(29.22, 67.54, 315.19°)
OKLaboklab(41.13% 0.1041 -0.1352)
OKLCHoklch(41.13% 0.171 307.6)
XYZxyz(10.8895, 5.9252, 26.9502)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642390 #4F9023
analogous
#2E2390 #642390 #902385
triadic
#642390 #906423 #239064
tetradic
#642390 #902E23 #4F9023 #238590
square
#642390 #902E23 #4F9023 #238590
split-complementary
#642390 #859023 #23902E
monochromatic
#200B2E #42175F #642390 #862FC1 #A357D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##642390#FFFFFF#000000##FFFFFF
##6423901.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)
#004393
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#5D3D58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642390;
/* rgb */ color: rgb(100, 35, 144);
/* oklch */ color: oklch(41.1% 0.171 307.6);
Tailwind
colors: {
  custom: {
    50: '#9565b1',
    500: '#642390',
    950: '#000000',
  },
}
SCSS
$custom: #642390;
$custom-light: #9565b1;
$custom-dark: #000000;
JSON
{
  "hex": "#642390",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 275.78,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41131,
    "c": 0.1706,
    "h": 307.6
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#642390
secondary
#7EBA54
accent
#E44484
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642390

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

Preview Lab → · Contrast checker → · Palette generator →

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