#643A88#643A88

#643A88 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.6% C 0.129 H 306.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#643A88
RGBrgb(100, 58, 136)
HSLhsl(272, 40%, 38%)
HSVhsv(272, 57%, 53%)
CMYKcmyk(26.5%, 57.4%, 0%, 46.7%)
CIE-LABlab(32.95, 34.23, -36.67)
CIE-LCHlch(32.95, 50.16, 313.03°)
OKLaboklab(43.64% 0.0769 -0.1032)
OKLCHoklch(43.64% 0.129 306.7)
XYZxyz(11.2116, 7.5131, 24.1473)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A88 #5E883A
analogous
#3D3A88 #643A88 #883A85
triadic
#643A88 #88643A #3A8864
tetradic
#643A88 #883D3A #5E883A #3A8588
square
#643A88 #883D3A #5E883A #3A8588
split-complementary
#643A88 #85883A #3A883D
monochromatic
#251532 #44285D #643A88 #844CB3 #A177C5

Accessibility & contrast

On white

8.39
#643A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#643A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A88
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A88#FFFFFF#000000##FFFFFF
##643A881.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8B
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#5E495B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643a88;
/* rgb */ color: rgb(100, 58, 136);
/* oklch */ color: oklch(43.6% 0.129 306.7);
Tailwind
colors: {
  custom: {
    50: '#9372ab',
    500: '#643a88',
    950: '#000000',
  },
}
SCSS
$custom: #643a88;
$custom-light: #9372ab;
$custom-dark: #000000;
JSON
{
  "hex": "#643a88",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 272.308,
    "s": 40.206,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43641,
    "c": 0.12869,
    "h": 306.7
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#643A88
secondary
#8CAE6F
accent
#D0588F
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643A88

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

Preview Lab → · Contrast checker → · Palette generator →

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