#642986#642986

#642986 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.152 H 310.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#642986
RGBrgb(100, 41, 134)
HSLhsl(278, 53%, 34%)
HSVhsv(278, 69%, 53%)
CMYKcmyk(25.4%, 69.4%, 0%, 47.5%)
CIE-LABlab(29.45, 42.85, -41.03)
CIE-LCHlch(29.45, 59.32, 316.24°)
OKLaboklab(41.06% 0.099 -0.1159)
OKLCHoklch(41.06% 0.152 310.5)
XYZxyz(10.3507, 6.0167, 23.1657)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642986 #4B8629
analogous
#362986 #642986 #86297A
triadic
#642986 #866429 #298664
tetradic
#642986 #863629 #4B8629 #297A86
square
#642986 #863629 #4B8629 #297A86
split-complementary
#642986 #7A8629 #298636
monochromatic
#1E0C28 #411B57 #642986 #8737B5 #A45CCD

Accessibility & contrast

On white

9.53
#642986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#642986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642986
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642986#FFFFFF#000000##FFFFFF
##6429861.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#1C4684
Tritanopia (blue-blind)
#5F3C54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642986;
/* rgb */ color: rgb(100, 41, 134);
/* oklch */ color: oklch(41.1% 0.152 310.5);
Tailwind
colors: {
  custom: {
    50: '#9467aa',
    500: '#642986',
    950: '#000000',
  },
}
SCSS
$custom: #642986;
$custom-light: #9467aa;
$custom-dark: #000000;
JSON
{
  "hex": "#642986",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 278.065,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.15245,
    "h": 310.5
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#642986
secondary
#79B358
accent
#DD4B80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #642986

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

Preview Lab → · Contrast checker → · Palette generator →

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