#643B94#643B94

#643B94 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.6% C 0.142 H 302.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#643B94
RGBrgb(100, 59, 148)
HSLhsl(268, 43%, 41%)
HSVhsv(268, 60%, 58%)
CMYKcmyk(32.4%, 60.1%, 0%, 42%)
CIE-LABlab(33.93, 36.75, -42.46)
CIE-LCHlch(33.93, 56.15, 310.88°)
OKLaboklab(44.61% 0.0757 -0.1202)
OKLCHoklch(44.61% 0.142 302.2)
XYZxyz(12.1636, 7.9754, 28.9098)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B94 #6B943B
analogous
#3B3F94 #643B94 #903B94
triadic
#643B94 #94643B #3B9464
tetradic
#643B94 #943B3F #6B943B #3B9490
square
#643B94 #943B3F #6B943B #3B9490
split-complementary
#643B94 #94903B #3F943B
monochromatic
#29183C #462A68 #643B94 #8252BA #A27ECC

Accessibility & contrast

On white

8.09
#643B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643B94
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B94#FFFFFF#000000##FFFFFF
##643B941.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4F97
Deuteranopia (green-blind)
#234F92
Tritanopia (blue-blind)
#5B4D62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643b94;
/* rgb */ color: rgb(100, 59, 148);
/* oklch */ color: oklch(44.6% 0.142 302.2);
Tailwind
colors: {
  custom: {
    50: '#9373b4',
    500: '#643b94',
    950: '#000000',
  },
}
SCSS
$custom: #643b94;
$custom-light: #9373b4;
$custom-dark: #000000;
JSON
{
  "hex": "#643b94",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 267.64,
    "s": 42.995,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.14204,
    "h": 302.2
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#643B94
secondary
#98B576
accent
#D35599
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643B94

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

Preview Lab → · Contrast checker → · Palette generator →

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