#643098#643098

#643098 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.163 H 303.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#643098
RGBrgb(100, 48, 152)
HSLhsl(270, 52%, 39%)
HSVhsv(270, 68%, 60%)
CMYKcmyk(34.2%, 68.4%, 0%, 40.4%)
CIE-LABlab(32.01, 43.74, -47.99)
CIE-LCHlch(32.01, 64.93, 312.34°)
OKLaboklab(43.31% 0.0889 -0.1364)
OKLCHoklch(43.31% 0.163 303.1)
XYZxyz(11.9787, 7.0902, 30.4372)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643098 #649830
analogous
#303098 #643098 #983098
triadic
#643098 #986430 #309864
tetradic
#643098 #983030 #649830 #309898
square
#643098 #983030 #649830 #309898
split-complementary
#643098 #989830 #309830
monochromatic
#27133B #452169 #643098 #8342C3 #A170D2

Accessibility & contrast

On white

8.68
#643098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#643098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643098
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643098#FFFFFF#000000##FFFFFF
##6430981.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#024B96
Tritanopia (blue-blind)
#5A4760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #643098;
/* rgb */ color: rgb(100, 48, 152);
/* oklch */ color: oklch(43.3% 0.163 303.1);
Tailwind
colors: {
  custom: {
    50: '#946cb7',
    500: '#643098',
    950: '#000000',
  },
}
SCSS
$custom: #643098;
$custom-light: #946cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#643098",
  "rgb": {
    "r": 100,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 270,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.16283,
    "h": 303.1
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#643098
secondary
#92BA6A
accent
#DB4C94
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #643098

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

Preview Lab → · Contrast checker → · Palette generator →

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