#643182#643182

#643182 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.136 H 310.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#643182
RGBrgb(100, 49, 130)
HSLhsl(278, 45%, 35%)
HSVhsv(278, 62%, 51%)
CMYKcmyk(23.1%, 62.3%, 0%, 49%)
CIE-LABlab(30.68, 37.79, -36.56)
CIE-LCHlch(30.68, 52.58, 315.95°)
OKLaboklab(41.86% 0.0891 -0.1028)
OKLCHoklch(41.86% 0.136 310.9)
XYZxyz(10.3824, 6.5179, 21.8259)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643182 #4F8231
analogous
#3C3182 #643182 #823177
triadic
#643182 #826431 #318264
tetradic
#643182 #823C31 #4F8231 #317782
square
#643182 #823C31 #4F8231 #317782
split-complementary
#643182 #778231 #31823C
monochromatic
#200F29 #422056 #643182 #8642AE #A368C6

Accessibility & contrast

On white

9.12
#643182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643182
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643182#FFFFFF#000000##FFFFFF
##6431821.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124685
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#604054
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #643182;
/* rgb */ color: rgb(100, 49, 130);
/* oklch */ color: oklch(41.9% 0.136 310.9);
Tailwind
colors: {
  custom: {
    50: '#936ca7',
    500: '#643182',
    950: '#000000',
  },
}
SCSS
$custom: #643182;
$custom-light: #936ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#643182",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 277.778,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.13609,
    "h": 310.9
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#643182
secondary
#7EAD62
accent
#D55383
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #643182

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

Preview Lab → · Contrast checker → · Palette generator →

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