#642193#642193

#642193 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.176 H 306.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#642193
RGBrgb(100, 33, 147)
HSLhsl(275, 63%, 35%)
HSVhsv(275, 78%, 58%)
CMYKcmyk(32%, 77.6%, 0%, 42.4%)
CIE-LABlab(29.17, 49.45, -49.54)
CIE-LCHlch(29.17, 70.00, 314.95°)
OKLaboklab(41.17% 0.1053 -0.1409)
OKLCHoklch(41.17% 0.176 306.8)
XYZxyz(11.0647, 5.9037, 28.1547)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642193 #509321
analogous
#2B2193 #642193 #932189
triadic
#642193 #936421 #219364
tetradic
#642193 #932B21 #509321 #218993
square
#642193 #932B21 #509321 #218993
split-complementary
#642193 #899321 #21932B
monochromatic
#200B2F #421661 #642193 #862CC5 #A355D9

Accessibility & contrast

On white

9.63
#642193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#642193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642193
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642193#FFFFFF#000000##FFFFFF
##6421931.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#5C3D59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642193;
/* rgb */ color: rgb(100, 33, 147);
/* oklch */ color: oklch(41.2% 0.176 306.8);
Tailwind
colors: {
  custom: {
    50: '#9564b3',
    500: '#642193',
    950: '#000000',
  },
}
SCSS
$custom: #642193;
$custom-light: #9564b3;
$custom-dark: #000000;
JSON
{
  "hex": "#642193",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 275.263,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.17589,
    "h": 306.8
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#642193
secondary
#7FBD53
accent
#E64185
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642193

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

Preview Lab → · Contrast checker → · Palette generator →

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