#642EAE#642EAE

#642EAE is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.190 H 297.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#642EAE
RGBrgb(100, 46, 174)
HSLhsl(265, 58%, 43%)
HSVhsv(265, 74%, 68%)
CMYKcmyk(42.5%, 73.6%, 0%, 31.8%)
CIE-LABlab(33.39, 50.35, -59.03)
CIE-LCHlch(33.39, 77.58, 310.46°)
OKLaboklab(44.83% 0.0871 -0.1688)
OKLCHoklch(44.83% 0.19 297.3)
XYZxyz(13.8705, 7.7190, 40.7953)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642EAE #78AE2E
analogous
#2E38AE #642EAE #A42EAE
triadic
#642EAE #AE642E #2EAE64
tetradic
#642EAE #AE2E38 #78AE2E #2EAEA4
square
#642EAE #AE2E38 #78AE2E #2EAEA4
split-complementary
#642EAE #AEA42E #38AE2E
monochromatic
#2C144D #48217E #642EAE #824ACF #A47ADC

Accessibility & contrast

On white

8.26
#642EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#642EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642EAE
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642EAE#FFFFFF#000000##FFFFFF
##642EAE1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#514F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #642eae;
/* rgb */ color: rgb(100, 46, 174);
/* oklch */ color: oklch(44.8% 0.190 297.3);
Tailwind
colors: {
  custom: {
    50: '#976cc7',
    500: '#642eae',
    950: '#000000',
  },
}
SCSS
$custom: #642eae;
$custom-light: #976cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#642eae",
  "rgb": {
    "r": 100,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 265.313,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.18998,
    "h": 297.3
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#642EAE
secondary
#A2C474
accent
#E146A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #642EAE

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

Preview Lab → · Contrast checker → · Palette generator →

#642EAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva