#642499#642499

#642499 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.179 H 304.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#642499
RGBrgb(100, 36, 153)
HSLhsl(273, 62%, 37%)
HSVhsv(273, 76%, 60%)
CMYKcmyk(34.6%, 76.5%, 0%, 40%)
CIE-LABlab(30.09, 49.62, -51.73)
CIE-LCHlch(30.09, 71.68, 313.81°)
OKLaboklab(41.96% 0.1012 -0.1473)
OKLCHoklch(41.96% 0.179 304.5)
XYZxyz(11.6349, 6.2710, 30.7283)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642499 #599924
analogous
#2A2499 #642499 #992493
triadic
#642499 #996424 #249964
tetradic
#642499 #992A24 #599924 #249399
square
#642499 #992A24 #599924 #249399
split-complementary
#642499 #939924 #24992A
monochromatic
#230D36 #441867 #642499 #8430CB #A15ED9

Accessibility & contrast

On white

9.32
#642499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#642499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642499
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642499#FFFFFF#000000##FFFFFF
##6424991.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#5A415D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #642499;
/* rgb */ color: rgb(100, 36, 153);
/* oklch */ color: oklch(42.0% 0.179 304.5);
Tailwind
colors: {
  custom: {
    50: '#9566b8',
    500: '#642499',
    950: '#000000',
  },
}
SCSS
$custom: #642499;
$custom-light: #9566b8;
$custom-dark: #000000;
JSON
{
  "hex": "#642499",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 272.821,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41964,
    "c": 0.17873,
    "h": 304.5
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#642499
secondary
#88BE5B
accent
#E5438C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642499

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

Preview Lab → · Contrast checker → · Palette generator →

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