#642195#642195

#642195 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.178 H 306.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#642195
RGBrgb(100, 33, 149)
HSLhsl(275, 64%, 36%)
HSVhsv(275, 78%, 58%)
CMYKcmyk(32.9%, 77.9%, 0%, 41.6%)
CIE-LABlab(29.33, 49.91, -50.51)
CIE-LCHlch(29.33, 71.01, 314.66°)
OKLaboklab(41.33% 0.1049 -0.1437)
OKLCHoklch(41.33% 0.178 306.1)
XYZxyz(11.2230, 5.9671, 28.9885)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642195 #529521
analogous
#2A2195 #642195 #95218C
triadic
#642195 #956421 #219564
tetradic
#642195 #952A21 #529521 #218C95
square
#642195 #952A21 #529521 #218C95
split-complementary
#642195 #8C9521 #21952A
monochromatic
#210B31 #421663 #642195 #862CC7 #A257DA

Accessibility & contrast

On white

9.57
#642195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#642195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642195
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642195#FFFFFF#000000##FFFFFF
##6421951.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#5B3E5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642195;
/* rgb */ color: rgb(100, 33, 149);
/* oklch */ color: oklch(41.3% 0.178 306.1);
Tailwind
colors: {
  custom: {
    50: '#9564b5',
    500: '#642195',
    950: '#000000',
  },
}
SCSS
$custom: #642195;
$custom-light: #9564b5;
$custom-dark: #000000;
JSON
{
  "hex": "#642195",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 274.655,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.17792,
    "h": 306.1
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#642195
secondary
#81BE54
accent
#E74187
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642195

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

Preview Lab → · Contrast checker → · Palette generator →

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