#643C94#643C94

#643C94 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.8% C 0.140 H 302.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#643C94
RGBrgb(100, 60, 148)
HSLhsl(267, 42%, 41%)
HSVhsv(267, 59%, 58%)
CMYKcmyk(32.4%, 59.5%, 0%, 42%)
CIE-LABlab(34.15, 36.17, -42.11)
CIE-LCHlch(34.15, 55.51, 310.66°)
OKLaboklab(44.77% 0.0744 -0.1192)
OKLCHoklch(44.77% 0.14 302)
XYZxyz(12.2154, 8.0791, 28.9271)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C94 #6C943C
analogous
#3C4094 #643C94 #903C94
triadic
#643C94 #94643C #3C9464
tetradic
#643C94 #943C40 #6C943C #3C9490
square
#643C94 #943C40 #6C943C #3C9490
split-complementary
#643C94 #94903C #40943C
monochromatic
#29193D #472A68 #643C94 #8254BA #A27FCB

Accessibility & contrast

On white

8.03
#643C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#643C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C94
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C94#FFFFFF#000000##FFFFFF
##643C941.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135097
Deuteranopia (green-blind)
#255092
Tritanopia (blue-blind)
#5B4E62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643c94;
/* rgb */ color: rgb(100, 60, 148);
/* oklch */ color: oklch(44.8% 0.140 302.0);
Tailwind
colors: {
  custom: {
    50: '#9373b4',
    500: '#643c94',
    950: '#000000',
  },
}
SCSS
$custom: #643c94;
$custom-light: #9373b4;
$custom-dark: #000000;
JSON
{
  "hex": "#643c94",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 267.273,
    "s": 42.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.14048,
    "h": 302
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#643C94
secondary
#99B577
accent
#D2569A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643C94

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

Preview Lab → · Contrast checker → · Palette generator →

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