#642494#642494

#642494 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.174 H 306.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#642494
RGBrgb(100, 36, 148)
HSLhsl(274, 61%, 36%)
HSVhsv(274, 76%, 58%)
CMYKcmyk(32.4%, 75.7%, 0%, 42%)
CIE-LABlab(29.69, 48.43, -49.31)
CIE-LCHlch(29.69, 69.12, 314.48°)
OKLaboklab(41.56% 0.1023 -0.1402)
OKLCHoklch(41.56% 0.174 306.1)
XYZxyz(11.2305, 6.1093, 28.5988)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642494 #549424
analogous
#2C2494 #642494 #94248C
triadic
#642494 #946424 #249464
tetradic
#642494 #942C24 #549424 #248C94
square
#642494 #942C24 #549424 #248C94
split-complementary
#642494 #8C9424 #24942C
monochromatic
#210C32 #431863 #642494 #8530C5 #A25BD7

Accessibility & contrast

On white

9.45
#642494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#642494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642494
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642494#FFFFFF#000000##FFFFFF
##6424941.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.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: #642494;
/* rgb */ color: rgb(100, 36, 148);
/* oklch */ color: oklch(41.6% 0.174 306.1);
Tailwind
colors: {
  custom: {
    50: '#9565b4',
    500: '#642494',
    950: '#000000',
  },
}
SCSS
$custom: #642494;
$custom-light: #9565b4;
$custom-dark: #000000;
JSON
{
  "hex": "#642494",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 274.286,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.17357,
    "h": 306.1
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#642494
secondary
#83BC58
accent
#E44488
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642494

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

Preview Lab → · Contrast checker → · Palette generator →

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