#643F94#643F94

#643F94 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.3% C 0.136 H 301.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#643F94
RGBrgb(100, 63, 148)
HSLhsl(266, 40%, 41%)
HSVhsv(266, 57%, 58%)
CMYKcmyk(32.4%, 57.4%, 0%, 42%)
CIE-LABlab(34.81, 34.44, -41.05)
CIE-LCHlch(34.81, 53.58, 309.99°)
OKLaboklab(45.25% 0.0704 -0.1161)
OKLCHoklch(45.25% 0.136 301.2)
XYZxyz(12.3771, 8.4024, 28.9810)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F94 #6F943F
analogous
#3F4594 #643F94 #8F3F94
triadic
#643F94 #94643F #3F9464
tetradic
#643F94 #943F45 #6F943F #3F948F
square
#643F94 #943F45 #6F943F #3F948F
split-complementary
#643F94 #948F3F #45943F
monochromatic
#2A1A3E #472D69 #643F94 #8258B8 #A283CA

Accessibility & contrast

On white

7.83
#643F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#643F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F94
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F94#FFFFFF#000000##FFFFFF
##643F941.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5197
Deuteranopia (green-blind)
#295192
Tritanopia (blue-blind)
#5A5063
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643f94;
/* rgb */ color: rgb(100, 63, 148);
/* oklch */ color: oklch(45.3% 0.136 301.2);
Tailwind
colors: {
  custom: {
    50: '#9375b4',
    500: '#643f94',
    950: '#000000',
  },
}
SCSS
$custom: #643f94;
$custom-light: #9375b4;
$custom-dark: #000000;
JSON
{
  "hex": "#643f94",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 266.118,
    "s": 40.284,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45251,
    "c": 0.13575,
    "h": 301.2
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#643F94
secondary
#9BB57A
accent
#D0589C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643F94

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

Preview Lab → · Contrast checker → · Palette generator →

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