#642485#642485

#642485 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.158 H 311.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#642485
RGBrgb(100, 36, 133)
HSLhsl(280, 57%, 33%)
HSVhsv(280, 73%, 52%)
CMYKcmyk(24.8%, 72.9%, 0%, 47.8%)
CIE-LABlab(28.55, 44.95, -41.86)
CIE-LCHlch(28.55, 61.42, 317.04°)
OKLaboklab(40.39% 0.1048 -0.1183)
OKLCHoklch(40.39% 0.158 311.5)
XYZxyz(10.1193, 5.6648, 22.7461)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642485 #458524
analogous
#342485 #642485 #852475
triadic
#642485 #856424 #248564
tetradic
#642485 #853424 #458524 #247585
square
#642485 #853424 #458524 #247585
split-complementary
#642485 #758524 #248534
monochromatic
#1C0A25 #401755 #642485 #8831B5 #A653D0

Accessibility & contrast

On white

9.85
#642485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#642485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642485
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642485#FFFFFF#000000##FFFFFF
##6424851.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #642485;
/* rgb */ color: rgb(100, 36, 133);
/* oklch */ color: oklch(40.4% 0.158 311.5);
Tailwind
colors: {
  custom: {
    50: '#9465a9',
    500: '#642485',
    950: '#000000',
  },
}
SCSS
$custom: #642485;
$custom-light: #9465a9;
$custom-dark: #000000;
JSON
{
  "hex": "#642485",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 279.588,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.15807,
    "h": 311.5
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#642485
secondary
#72B450
accent
#E1477B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #642485

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

Preview Lab → · Contrast checker → · Palette generator →

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