#643495#643495

#643495 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.154 H 303.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#643495
RGBrgb(100, 52, 149)
HSLhsl(270, 48%, 39%)
HSVhsv(270, 65%, 58%)
CMYKcmyk(32.9%, 65.1%, 0%, 41.6%)
CIE-LABlab(32.56, 40.88, -45.28)
CIE-LCHlch(32.56, 61.00, 312.08°)
OKLaboklab(43.63% 0.0845 -0.1284)
OKLCHoklch(43.63% 0.154 303.3)
XYZxyz(11.9071, 7.3352, 29.2165)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643495 #659534
analogous
#343495 #643495 #953495
triadic
#643495 #956434 #349564
tetradic
#643495 #953434 #659534 #349595
square
#643495 #953434 #659534 #349595
split-complementary
#643495 #959534 #349534
monochromatic
#27143A #462468 #643495 #8247BF #A175CF

Accessibility & contrast

On white

8.51
#643495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#643495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643495
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643495#FFFFFF#000000##FFFFFF
##6434951.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#164C93
Tritanopia (blue-blind)
#5B495F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643495;
/* rgb */ color: rgb(100, 52, 149);
/* oklch */ color: oklch(43.6% 0.154 303.3);
Tailwind
colors: {
  custom: {
    50: '#946eb5',
    500: '#643495',
    950: '#000000',
  },
}
SCSS
$custom: #643495;
$custom-light: #946eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#643495",
  "rgb": {
    "r": 100,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 269.691,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43633,
    "c": 0.15375,
    "h": 303.3
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#643495
secondary
#93B76E
accent
#D85095
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #643495

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

Preview Lab → · Contrast checker → · Palette generator →

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