#642384#642384

#642384 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.158 H 312.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#642384
RGBrgb(100, 35, 132)
HSLhsl(280, 58%, 33%)
HSVhsv(280, 73%, 52%)
CMYKcmyk(24.2%, 73.5%, 0%, 48.2%)
CIE-LABlab(28.32, 45.17, -41.61)
CIE-LCHlch(28.32, 61.41, 317.35°)
OKLaboklab(40.21% 0.1061 -0.1176)
OKLCHoklch(40.21% 0.158 312.1)
XYZxyz(10.0207, 5.5776, 22.3740)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642384 #438423
analogous
#332384 #642384 #842374
triadic
#642384 #846423 #238464
tetradic
#642384 #843323 #438423 #237484
square
#642384 #843323 #438423 #237484
split-complementary
#642384 #748423 #238433
monochromatic
#1B0923 #3F1654 #642384 #8930B4 #A651D1

Accessibility & contrast

On white

9.93
#642384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#642384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642384
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642384#FFFFFF#000000##FFFFFF
##6423841.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#174482
Tritanopia (blue-blind)
#603851
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #642384;
/* rgb */ color: rgb(100, 35, 132);
/* oklch */ color: oklch(40.2% 0.158 312.1);
Tailwind
colors: {
  custom: {
    50: '#9464a8',
    500: '#642384',
    950: '#000000',
  },
}
SCSS
$custom: #642384;
$custom-light: #9464a8;
$custom-dark: #000000;
JSON
{
  "hex": "#642384",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 280.206,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40207,
    "c": 0.15833,
    "h": 312.1
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#642384
secondary
#70B44E
accent
#E1467A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #642384

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

Preview Lab → · Contrast checker → · Palette generator →

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