#642392#642392

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

Color values

HEX#642392
RGBrgb(100, 35, 146)
HSLhsl(275, 61%, 35%)
HSVhsv(275, 76%, 57%)
CMYKcmyk(31.5%, 76%, 0%, 42.7%)
CIE-LABlab(29.38, 48.39, -48.58)
CIE-LCHlch(29.38, 68.57, 314.88°)
OKLaboklab(41.29% 0.1037 -0.1381)
OKLCHoklch(41.29% 0.173 306.9)
XYZxyz(11.0438, 5.9868, 27.7623)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642392 #519223
analogous
#2C2392 #642392 #922388
triadic
#642392 #926423 #239264
tetradic
#642392 #922C23 #519223 #238892
square
#642392 #922C23 #519223 #238892
split-complementary
#642392 #889223 #23922C
monochromatic
#200B2F #421761 #642392 #862FC3 #A358D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##642392#FFFFFF#000000##FFFFFF
##6423921.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)
#004395
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#5C3E59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642392;
/* rgb */ color: rgb(100, 35, 146);
/* oklch */ color: oklch(41.3% 0.173 306.9);
Tailwind
colors: {
  custom: {
    50: '#9565b3',
    500: '#642392',
    950: '#000000',
  },
}
SCSS
$custom: #642392;
$custom-light: #9565b3;
$custom-dark: #000000;
JSON
{
  "hex": "#642392",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 275.135,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41291,
    "c": 0.17265,
    "h": 306.9
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#642392
secondary
#80BB55
accent
#E44386
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642392

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

Preview Lab → · Contrast checker → · Palette generator →

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