#642185#642185

#642185 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.162 H 311.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#642185
RGBrgb(100, 33, 133)
HSLhsl(280, 60%, 33%)
HSVhsv(280, 75%, 52%)
CMYKcmyk(24.8%, 75.2%, 0%, 47.8%)
CIE-LABlab(28.09, 46.25, -42.60)
CIE-LCHlch(28.09, 62.89, 317.35°)
OKLaboklab(40.07% 0.108 -0.1205)
OKLCHoklch(40.07% 0.162 311.9)
XYZxyz(10.0322, 5.4908, 22.7171)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642185 #428521
analogous
#322185 #642185 #852174
triadic
#642185 #856421 #218564
tetradic
#642185 #853221 #428521 #217485
square
#642185 #853221 #428521 #217485
split-complementary
#642185 #748521 #218532
monochromatic
#1A0923 #3F1554 #642185 #892DB6 #A74DD3

Accessibility & contrast

On white

10.01
#642185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#642185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642185
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642185#FFFFFF#000000##FFFFFF
##6421851.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#134483
Tritanopia (blue-blind)
#603751
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #642185;
/* rgb */ color: rgb(100, 33, 133);
/* oklch */ color: oklch(40.1% 0.162 311.9);
Tailwind
colors: {
  custom: {
    50: '#9463a9',
    500: '#642185',
    950: '#000000',
  },
}
SCSS
$custom: #642185;
$custom-light: #9463a9;
$custom-dark: #000000;
JSON
{
  "hex": "#642185",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 280.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40066,
    "c": 0.16181,
    "h": 311.9
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#642185
secondary
#6FB64C
accent
#E34479
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #642185

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

Preview Lab → · Contrast checker → · Palette generator →

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