#643E90#643E90

#643E90 is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.8% C 0.132 H 302.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#643E90
RGBrgb(100, 62, 144)
HSLhsl(268, 40%, 40%)
HSVhsv(268, 57%, 56%)
CMYKcmyk(30.6%, 56.9%, 0%, 43.5%)
CIE-LABlab(34.33, 33.97, -39.37)
CIE-LCHlch(34.33, 52.00, 310.78°)
OKLaboklab(44.82% 0.0717 -0.1111)
OKLCHoklch(44.82% 0.132 302.8)
XYZxyz(12.0111, 8.1682, 27.3240)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E90 #6A903E
analogous
#3E4190 #643E90 #8D3E90
triadic
#643E90 #90643E #3E9064
tetradic
#643E90 #903E41 #6A903E #3E908D
square
#643E90 #903E41 #6A903E #3E908D
split-complementary
#643E90 #908D3E #41903E
monochromatic
#29193A #462C65 #643E90 #8255B6 #A280C8

Accessibility & contrast

On white

7.97
#643E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#643E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E90
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E90#FFFFFF#000000##FFFFFF
##643E901.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5093
Deuteranopia (green-blind)
#2C518E
Tritanopia (blue-blind)
#5C4E61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643e90;
/* rgb */ color: rgb(100, 62, 144);
/* oklch */ color: oklch(44.8% 0.132 302.8);
Tailwind
colors: {
  custom: {
    50: '#9375b1',
    500: '#643e90',
    950: '#000000',
  },
}
SCSS
$custom: #643e90;
$custom-light: #9375b1;
$custom-dark: #000000;
JSON
{
  "hex": "#643e90",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 267.805,
    "s": 39.806,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44819,
    "c": 0.13224,
    "h": 302.8
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#643E90
secondary
#97B277
accent
#D05898
background
#F9F7FA
surface
#F2EDF5
border
#CCC8CF
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643E90

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

Preview Lab → · Contrast checker → · Palette generator →

#643E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva