#643181#643181

#643181 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.135 H 311.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#643181
RGBrgb(100, 49, 129)
HSLhsl(278, 45%, 35%)
HSVhsv(278, 62%, 51%)
CMYKcmyk(22.5%, 62%, 0%, 49.4%)
CIE-LABlab(30.62, 37.55, -36.04)
CIE-LCHlch(30.62, 52.05, 316.18°)
OKLaboklab(41.8% 0.0891 -0.1013)
OKLCHoklch(41.8% 0.135 311.3)
XYZxyz(10.3156, 6.4912, 21.4741)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643181 #4E8131
analogous
#3C3181 #643181 #813176
triadic
#643181 #816431 #318164
tetradic
#643181 #813C31 #4E8131 #317681
square
#643181 #813C31 #4E8131 #317681
split-complementary
#643181 #768131 #31813C
monochromatic
#1F0F28 #422055 #643181 #8642AD #A367C5

Accessibility & contrast

On white

9.14
#643181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#643181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643181
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643181#FFFFFF#000000##FFFFFF
##6431811.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144684
Deuteranopia (green-blind)
#2A497F
Tritanopia (blue-blind)
#614054
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #643181;
/* rgb */ color: rgb(100, 49, 129);
/* oklch */ color: oklch(41.8% 0.135 311.3);
Tailwind
colors: {
  custom: {
    50: '#936ca6',
    500: '#643181',
    950: '#000000',
  },
}
SCSS
$custom: #643181;
$custom-light: #936ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#643181",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 278.25,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41797,
    "c": 0.13494,
    "h": 311.3
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#643181
secondary
#7DAD61
accent
#D55382
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #643181

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

Preview Lab → · Contrast checker → · Palette generator →

#643181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva