#643285#643285

#643285 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.138 H 309.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#643285
RGBrgb(100, 50, 133)
HSLhsl(276, 45%, 36%)
HSVhsv(276, 62%, 52%)
CMYKcmyk(24.8%, 62.4%, 0%, 47.8%)
CIE-LABlab(31.08, 37.97, -37.80)
CIE-LCHlch(31.08, 53.58, 315.13°)
OKLaboklab(42.21% 0.0878 -0.1065)
OKLCHoklch(42.21% 0.138 309.5)
XYZxyz(10.6289, 6.6842, 22.9160)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643285 #538532
analogous
#3B3285 #643285 #85327C
triadic
#643285 #856432 #328564
tetradic
#643285 #853B32 #538532 #327C85
square
#643285 #853B32 #538532 #327C85
split-complementary
#643285 #7C8532 #32853B
monochromatic
#21112C #432159 #643285 #8543B1 #A26AC7

Accessibility & contrast

On white

8.99
#643285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#643285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643285
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643285#FFFFFF#000000##FFFFFF
##6432851.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4788
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#5F4256
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #643285;
/* rgb */ color: rgb(100, 50, 133);
/* oklch */ color: oklch(42.2% 0.138 309.5);
Tailwind
colors: {
  custom: {
    50: '#936da9',
    500: '#643285',
    950: '#000000',
  },
}
SCSS
$custom: #643285;
$custom-light: #936da9;
$custom-dark: #000000;
JSON
{
  "hex": "#643285",
  "rgb": {
    "r": 100,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 276.145,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42212,
    "c": 0.13799,
    "h": 309.5
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#643285
secondary
#82AF64
accent
#D55387
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #643285

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

Preview Lab → · Contrast checker → · Palette generator →

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