#643D8E#643D8E

#643D8E is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.5% C 0.131 H 303.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#643D8E
RGBrgb(100, 61, 142)
HSLhsl(269, 40%, 40%)
HSVhsv(269, 57%, 56%)
CMYKcmyk(29.6%, 57%, 0%, 44.3%)
CIE-LABlab(33.98, 34.03, -38.71)
CIE-LCHlch(33.98, 51.54, 311.32°)
OKLaboklab(44.52% 0.073 -0.1092)
OKLCHoklch(44.52% 0.131 303.8)
XYZxyz(11.8057, 7.9998, 26.5081)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D8E #678E3D
analogous
#3D3F8E #643D8E #8C3D8E
triadic
#643D8E #8E643D #3D8E64
tetradic
#643D8E #8E3D3F #678E3D #3D8E8C
square
#643D8E #8E3D3F #678E3D #3D8E8C
split-complementary
#643D8E #8E8C3D #3F8E3D
monochromatic
#281838 #462B63 #643D8E #8253B5 #A17EC8

Accessibility & contrast

On white

8.08
#643D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#643D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D8E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D8E#FFFFFF#000000##FFFFFF
##643D8E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#2C508C
Tritanopia (blue-blind)
#5C4D5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643d8e;
/* rgb */ color: rgb(100, 61, 142);
/* oklch */ color: oklch(44.5% 0.131 303.8);
Tailwind
colors: {
  custom: {
    50: '#9374af',
    500: '#643d8e',
    950: '#000000',
  },
}
SCSS
$custom: #643d8e;
$custom-light: #9374af;
$custom-dark: #000000;
JSON
{
  "hex": "#643d8e",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 268.889,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.13131,
    "h": 303.8
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#643D8E
secondary
#95B175
accent
#D05896
background
#F9F7FA
surface
#F2EDF5
border
#CCC8CF
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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