#643A82#643A82

#643A82 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.3% C 0.121 H 309.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#643A82
RGBrgb(100, 58, 130)
HSLhsl(275, 38%, 37%)
HSVhsv(275, 55%, 51%)
CMYKcmyk(23.1%, 55.4%, 0%, 49%)
CIE-LABlab(32.58, 32.74, -33.53)
CIE-LCHlch(32.58, 46.86, 314.32°)
OKLaboklab(43.26% 0.0765 -0.094)
OKLCHoklch(43.26% 0.121 309.1)
XYZxyz(10.7971, 7.3473, 21.9641)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A82 #58823A
analogous
#403A82 #643A82 #823A7C
triadic
#643A82 #82643A #3A8264
tetradic
#643A82 #82403A #58823A #3A7C82
square
#643A82 #82403A #58823A #3A7C82
split-complementary
#643A82 #7C823A #3A8240
monochromatic
#23142D #432758 #643A82 #854DAC #A275C1

Accessibility & contrast

On white

8.50
#643A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#643A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A82
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A82#FFFFFF#000000##FFFFFF
##643A821.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#604758
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643a82;
/* rgb */ color: rgb(100, 58, 130);
/* oklch */ color: oklch(43.3% 0.121 309.1);
Tailwind
colors: {
  custom: {
    50: '#9272a7',
    500: '#643a82',
    950: '#000000',
  },
}
SCSS
$custom: #643a82;
$custom-light: #9272a7;
$custom-dark: #000000;
JSON
{
  "hex": "#643a82",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 275,
    "s": 38.298,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.12124,
    "h": 309.1
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#643A82
secondary
#87AB6D
accent
#CE5A8A
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643A82

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

Preview Lab → · Contrast checker → · Palette generator →

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