#621793#621793

#621793 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.185 H 306.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#621793
RGBrgb(98, 23, 147)
HSLhsl(276, 73%, 33%)
HSVhsv(276, 84%, 58%)
CMYKcmyk(33.3%, 84.4%, 0%, 42.4%)
CIE-LABlab(27.62, 52.73, -52.08)
CIE-LCHlch(27.62, 74.11, 315.36°)
OKLaboklab(40.02% 0.1106 -0.1483)
OKLCHoklch(40.02% 0.185 306.7)
XYZxyz(10.6087, 5.3162, 28.0654)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621793 #489317
analogous
#241793 #621793 #931786
triadic
#621793 #936217 #179362
tetradic
#621793 #932417 #489317 #178693
square
#621793 #932417 #489317 #178693
split-complementary
#621793 #869317 #179324
monochromatic
#1B0629 #3F0F5E #621793 #851FC8 #A343E2

Accessibility & contrast

On white

10.18
#621793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#621793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621793
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621793#FFFFFF#000000##FFFFFF
##6217931.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#593957
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #621793;
/* rgb */ color: rgb(98, 23, 147);
/* oklch */ color: oklch(40.0% 0.185 306.7);
Tailwind
colors: {
  custom: {
    50: '#9460b4',
    500: '#621793',
    950: '#000000',
  },
}
SCSS
$custom: #621793;
$custom-light: #9460b4;
$custom-dark: #000000;
JSON
{
  "hex": "#621793",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 147
  },
  "hsl": {
    "h": 276.29,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40021,
    "c": 0.18502,
    "h": 306.7
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#621793
secondary
#76C244
accent
#F03881
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #621793

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

Preview Lab → · Contrast checker → · Palette generator →

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