#642186#642186

#642186 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.163 H 311.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#642186
RGBrgb(100, 33, 134)
HSLhsl(280, 60%, 33%)
HSVhsv(280, 75%, 53%)
CMYKcmyk(25.4%, 75.4%, 0%, 47.5%)
CIE-LABlab(28.16, 46.48, -43.11)
CIE-LCHlch(28.16, 63.39, 317.15°)
OKLaboklab(40.14% 0.1079 -0.122)
OKLCHoklch(40.14% 0.163 311.5)
XYZxyz(10.1017, 5.5185, 23.0827)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642186 #438621
analogous
#312186 #642186 #862175
triadic
#642186 #866421 #218664
tetradic
#642186 #863121 #438621 #217586
square
#642186 #863121 #438621 #217586
split-complementary
#642186 #758621 #218631
monochromatic
#1B0924 #3F1555 #642186 #892DB7 #A64ED3

Accessibility & contrast

On white

9.98
#642186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642186
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642186#FFFFFF#000000##FFFFFF
##6421861.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#114484
Tritanopia (blue-blind)
#603852
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #642186;
/* rgb */ color: rgb(100, 33, 134);
/* oklch */ color: oklch(40.1% 0.163 311.5);
Tailwind
colors: {
  custom: {
    50: '#9463aa',
    500: '#642186',
    950: '#000000',
  },
}
SCSS
$custom: #642186;
$custom-light: #9463aa;
$custom-dark: #000000;
JSON
{
  "hex": "#642186",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 279.802,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.16281,
    "h": 311.5
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#642186
secondary
#70B74C
accent
#E4447A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #642186

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

Preview Lab → · Contrast checker → · Palette generator →

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