#642394#642394

#642394 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.175 H 306.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#642394
RGBrgb(100, 35, 148)
HSLhsl(275, 62%, 36%)
HSVhsv(275, 76%, 58%)
CMYKcmyk(32.4%, 76.4%, 0%, 42%)
CIE-LABlab(29.54, 48.85, -49.56)
CIE-LCHlch(29.54, 69.59, 314.59°)
OKLaboklab(41.45% 0.1033 -0.1409)
OKLCHoklch(41.45% 0.175 306.2)
XYZxyz(11.2007, 6.0496, 28.5889)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642394 #539423
analogous
#2B2394 #642394 #94238B
triadic
#642394 #946423 #239464
tetradic
#642394 #942B23 #539423 #238B94
square
#642394 #942B23 #539423 #238B94
split-complementary
#642394 #8B9423 #23942B
monochromatic
#210C31 #431763 #642394 #852FC5 #A25AD8

Accessibility & contrast

On white

9.50
#642394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#642394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642394
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642394#FFFFFF#000000##FFFFFF
##6423941.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#5B3F5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #642394;
/* rgb */ color: rgb(100, 35, 148);
/* oklch */ color: oklch(41.5% 0.175 306.2);
Tailwind
colors: {
  custom: {
    50: '#9565b4',
    500: '#642394',
    950: '#000000',
  },
}
SCSS
$custom: #642394;
$custom-light: #9565b4;
$custom-dark: #000000;
JSON
{
  "hex": "#642394",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 274.513,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41452,
    "c": 0.1747,
    "h": 306.2
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#642394
secondary
#82BC57
accent
#E54388
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642394

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

Preview Lab → · Contrast checker → · Palette generator →

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