#643185#643185

#643185 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.140 H 309.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#643185
RGBrgb(100, 49, 133)
HSLhsl(276, 46%, 36%)
HSVhsv(276, 63%, 52%)
CMYKcmyk(24.8%, 63.2%, 0%, 47.8%)
CIE-LABlab(30.88, 38.51, -38.12)
CIE-LCHlch(30.88, 54.19, 315.30°)
OKLaboklab(42.07% 0.0891 -0.1074)
OKLCHoklch(42.07% 0.14 309.7)
XYZxyz(10.5867, 6.5996, 22.9019)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643185 #528531
analogous
#3A3185 #643185 #85317C
triadic
#643185 #856431 #318564
tetradic
#643185 #853A31 #528531 #317C85
square
#643185 #853A31 #528531 #317C85
split-complementary
#643185 #7C8531 #31853A
monochromatic
#21102C #422158 #643185 #8641B2 #A269C8

Accessibility & contrast

On white

9.05
#643185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#643185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643185
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643185#FFFFFF#000000##FFFFFF
##6431851.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4688
Deuteranopia (green-blind)
#264983
Tritanopia (blue-blind)
#604156
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #643185;
/* rgb */ color: rgb(100, 49, 133);
/* oklch */ color: oklch(42.1% 0.140 309.7);
Tailwind
colors: {
  custom: {
    50: '#936ca9',
    500: '#643185',
    950: '#000000',
  },
}
SCSS
$custom: #643185;
$custom-light: #936ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#643185",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 276.429,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42067,
    "c": 0.13955,
    "h": 309.7
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#643185
secondary
#81AF63
accent
#D65286
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #643185

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

Preview Lab → · Contrast checker → · Palette generator →

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