#642385#642385

#642385 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.159 H 311.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#642385
RGBrgb(100, 35, 133)
HSLhsl(280, 58%, 33%)
HSVhsv(280, 74%, 52%)
CMYKcmyk(24.8%, 73.7%, 0%, 47.8%)
CIE-LABlab(28.39, 45.39, -42.11)
CIE-LCHlch(28.39, 61.92, 317.15°)
OKLaboklab(40.28% 0.1059 -0.119)
OKLCHoklch(40.28% 0.159 311.7)
XYZxyz(10.0894, 5.6051, 22.7362)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642385 #448523
analogous
#332385 #642385 #852375
triadic
#642385 #856423 #238564
tetradic
#642385 #853323 #448523 #237585
square
#642385 #853323 #448523 #237585
split-complementary
#642385 #758523 #238533
monochromatic
#1B0924 #401655 #642385 #8830B5 #A651D1

Accessibility & contrast

On white

9.90
#642385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#642385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642385
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642385#FFFFFF#000000##FFFFFF
##6423851.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#164483
Tritanopia (blue-blind)
#603952
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #642385;
/* rgb */ color: rgb(100, 35, 133);
/* oklch */ color: oklch(40.3% 0.159 311.7);
Tailwind
colors: {
  custom: {
    50: '#9464a9',
    500: '#642385',
    950: '#000000',
  },
}
SCSS
$custom: #642385;
$custom-light: #9464a9;
$custom-dark: #000000;
JSON
{
  "hex": "#642385",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 279.796,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.15934,
    "h": 311.7
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#642385
secondary
#71B54F
accent
#E2467B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #642385

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

Preview Lab → · Contrast checker → · Palette generator →

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