#642383#642383

#642383 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.157 H 312.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#642383
RGBrgb(100, 35, 131)
HSLhsl(281, 58%, 33%)
HSVhsv(281, 73%, 51%)
CMYKcmyk(23.7%, 73.3%, 0%, 48.6%)
CIE-LABlab(28.25, 44.94, -41.10)
CIE-LCHlch(28.25, 60.90, 317.56°)
OKLaboklab(40.13% 0.1062 -0.1161)
OKLCHoklch(40.13% 0.157 312.5)
XYZxyz(9.9526, 5.5504, 22.0154)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642383 #428323
analogous
#342383 #642383 #832372
triadic
#642383 #836423 #238364
tetradic
#642383 #833423 #428323 #237283
square
#642383 #833423 #428323 #237283
split-complementary
#642383 #728323 #238334
monochromatic
#1A0922 #3F1653 #642383 #8930B3 #A750D0

Accessibility & contrast

On white

9.95
#642383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#642383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642383
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642383#FFFFFF#000000##FFFFFF
##6423831.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#194481
Tritanopia (blue-blind)
#603850
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #642383;
/* rgb */ color: rgb(100, 35, 131);
/* oklch */ color: oklch(40.1% 0.157 312.5);
Tailwind
colors: {
  custom: {
    50: '#9464a8',
    500: '#642383',
    950: '#000000',
  },
}
SCSS
$custom: #642383;
$custom-light: #9464a8;
$custom-dark: #000000;
JSON
{
  "hex": "#642383",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 280.625,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40132,
    "c": 0.1573,
    "h": 312.5
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#642383
secondary
#6FB44E
accent
#E14779
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #642383

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

Preview Lab → · Contrast checker → · Palette generator →

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