#643F90#643F90

#643F90 is a dark, vivid violet. Relative luminance 0.083; OKLCH L 45.0% C 0.131 H 302.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#643F90
RGBrgb(100, 63, 144)
HSLhsl(267, 39%, 41%)
HSVhsv(267, 56%, 56%)
CMYKcmyk(30.6%, 56.3%, 0%, 43.5%)
CIE-LABlab(34.56, 33.38, -39.02)
CIE-LCHlch(34.56, 51.35, 310.55°)
OKLaboklab(44.98% 0.0703 -0.1101)
OKLCHoklch(44.98% 0.131 302.6)
XYZxyz(12.0659, 8.2779, 27.3423)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F90 #6B903F
analogous
#3F4390 #643F90 #8C3F90
triadic
#643F90 #90643F #3F9064
tetradic
#643F90 #903F43 #6B903F #3F908C
square
#643F90 #903F43 #6B903F #3F908C
split-complementary
#643F90 #908C3F #43903F
monochromatic
#291A3B #462C65 #643F90 #8257B5 #A281C8

Accessibility & contrast

On white

7.91
#643F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#643F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F90
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F90#FFFFFF#000000##FFFFFF
##643F901.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205193
Deuteranopia (green-blind)
#2D518E
Tritanopia (blue-blind)
#5C4F61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643f90;
/* rgb */ color: rgb(100, 63, 144);
/* oklch */ color: oklch(45.0% 0.131 302.6);
Tailwind
colors: {
  custom: {
    50: '#9375b1',
    500: '#643f90',
    950: '#000000',
  },
}
SCSS
$custom: #643f90;
$custom-light: #9375b1;
$custom-dark: #000000;
JSON
{
  "hex": "#643f90",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 267.407,
    "s": 39.13,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44984,
    "c": 0.13062,
    "h": 302.6
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#643F90
secondary
#98B278
accent
#CF5999
background
#F9F7FA
surface
#F2EDF5
border
#CCC8CF
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643F90

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

Preview Lab → · Contrast checker → · Palette generator →

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