#642EAD#642EAD

#642EAD is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.189 H 297.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#642EAD
RGBrgb(100, 46, 173)
HSLhsl(266, 58%, 43%)
HSVhsv(266, 73%, 68%)
CMYKcmyk(42.2%, 73.4%, 0%, 32.2%)
CIE-LABlab(33.31, 50.09, -58.56)
CIE-LCHlch(33.31, 77.06, 310.54°)
OKLaboklab(44.75% 0.0874 -0.1675)
OKLCHoklch(44.75% 0.189 297.5)
XYZxyz(13.7734, 7.6802, 40.2838)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642EAD #77AD2E
analogous
#2E37AD #642EAD #A32EAD
triadic
#642EAD #AD642E #2EAD64
tetradic
#642EAD #AD2E37 #77AD2E #2EADA3
square
#642EAD #AD2E37 #77AD2E #2EADA3
split-complementary
#642EAD #ADA32E #37AD2E
monochromatic
#2C144C #48217D #642EAD #8249CF #A37ADC

Accessibility & contrast

On white

8.28
#642EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642EAD
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642EAD#FFFFFF#000000##FFFFFF
##642EAD1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#514E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #642ead;
/* rgb */ color: rgb(100, 46, 173);
/* oklch */ color: oklch(44.7% 0.189 297.5);
Tailwind
colors: {
  custom: {
    50: '#976cc6',
    500: '#642ead',
    950: '#000000',
  },
}
SCSS
$custom: #642ead;
$custom-light: #976cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#642ead",
  "rgb": {
    "r": 100,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 265.512,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44747,
    "c": 0.18888,
    "h": 297.5
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#642EAD
secondary
#A1C473
accent
#E1479F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #642EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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