#643298#643298

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

Color values

HEX#643298
RGBrgb(100, 50, 152)
HSLhsl(269, 50%, 40%)
HSVhsv(269, 67%, 60%)
CMYKcmyk(34.2%, 67.1%, 0%, 40.4%)
CIE-LABlab(32.39, 42.71, -47.39)
CIE-LCHlch(32.39, 63.79, 312.03°)
OKLaboklab(43.58% 0.0866 -0.1346)
OKLCHoklch(43.58% 0.16 302.8)
XYZxyz(12.0623, 7.2575, 30.4650)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643298 #669832
analogous
#323398 #643298 #973298
triadic
#643298 #986432 #329864
tetradic
#643298 #983233 #669832 #329897
square
#643298 #983233 #669832 #329897
split-complementary
#643298 #989732 #339832
monochromatic
#27143C #46236A #643298 #8245C2 #A173D1

Accessibility & contrast

On white

8.57
#643298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#643298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643298
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643298#FFFFFF#000000##FFFFFF
##6432981.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#094C96
Tritanopia (blue-blind)
#5A4960
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643298;
/* rgb */ color: rgb(100, 50, 152);
/* oklch */ color: oklch(43.6% 0.160 302.8);
Tailwind
colors: {
  custom: {
    50: '#946db7',
    500: '#643298',
    950: '#000000',
  },
}
SCSS
$custom: #643298;
$custom-light: #946db7;
$custom-dark: #000000;
JSON
{
  "hex": "#643298",
  "rgb": {
    "r": 100,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 269.412,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43577,
    "c": 0.16009,
    "h": 302.8
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#643298
secondary
#94B96D
accent
#DA4E95
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #643298

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

Preview Lab → · Contrast checker → · Palette generator →

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