#642486#642486

#642486 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.159 H 311.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#642486
RGBrgb(100, 36, 134)
HSLhsl(279, 58%, 33%)
HSVhsv(279, 73%, 53%)
CMYKcmyk(25.4%, 73.1%, 0%, 47.5%)
CIE-LABlab(28.62, 45.18, -42.37)
CIE-LCHlch(28.62, 61.93, 316.84°)
OKLaboklab(40.47% 0.1047 -0.1198)
OKLCHoklch(40.47% 0.159 311.2)
XYZxyz(10.1887, 5.6926, 23.1117)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642486 #468624
analogous
#332486 #642486 #862477
triadic
#642486 #866424 #248664
tetradic
#642486 #863324 #468624 #247786
square
#642486 #863324 #468624 #247786
split-complementary
#642486 #778624 #248633
monochromatic
#1C0A26 #401756 #642486 #8831B6 #A553D1

Accessibility & contrast

On white

9.82
#642486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#642486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642486
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642486#FFFFFF#000000##FFFFFF
##6424861.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#154584
Tritanopia (blue-blind)
#603A52
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #642486;
/* rgb */ color: rgb(100, 36, 134);
/* oklch */ color: oklch(40.5% 0.159 311.2);
Tailwind
colors: {
  custom: {
    50: '#9465aa',
    500: '#642486',
    950: '#000000',
  },
}
SCSS
$custom: #642486;
$custom-light: #9465aa;
$custom-dark: #000000;
JSON
{
  "hex": "#642486",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 279.184,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40468,
    "c": 0.1591,
    "h": 311.2
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#642486
secondary
#74B551
accent
#E1477C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #642486

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

Preview Lab → · Contrast checker → · Palette generator →

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