#642299#642299

#642299 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.181 H 304.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#642299
RGBrgb(100, 34, 153)
HSLhsl(273, 64%, 37%)
HSVhsv(273, 78%, 60%)
CMYKcmyk(34.6%, 77.8%, 0%, 40%)
CIE-LABlab(29.80, 50.45, -52.20)
CIE-LCHlch(29.80, 72.59, 314.02°)
OKLaboklab(41.76% 0.103 -0.1487)
OKLCHoklch(41.76% 0.181 304.7)
XYZxyz(11.5760, 6.1533, 30.7087)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642299 #579922
analogous
#292299 #642299 #992293
triadic
#642299 #996422 #229964
tetradic
#642299 #992922 #579922 #229399
square
#642299 #992922 #579922 #229399
split-complementary
#642299 #939922 #229929
monochromatic
#230C35 #431767 #642299 #852DCB #A25BDB

Accessibility & contrast

On white

9.41
#642299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#642299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642299
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642299#FFFFFF#000000##FFFFFF
##6422991.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#5A405D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #642299;
/* rgb */ color: rgb(100, 34, 153);
/* oklch */ color: oklch(41.8% 0.181 304.7);
Tailwind
colors: {
  custom: {
    50: '#9565b8',
    500: '#642299',
    950: '#000000',
  },
}
SCSS
$custom: #642299;
$custom-light: #9565b8;
$custom-dark: #000000;
JSON
{
  "hex": "#642299",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 273.277,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.1809,
    "h": 304.7
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#642299
secondary
#86BF58
accent
#E7418B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642299

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

Preview Lab → · Contrast checker → · Palette generator →

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