#621371#621371

#621371 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.158 H 320.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#621371
RGBrgb(98, 19, 113)
HSLhsl(290, 71%, 26%)
HSVhsv(290, 83%, 44%)
CMYKcmyk(13.3%, 83.2%, 0%, 55.7%)
CIE-LABlab(24.50, 46.83, -35.73)
CIE-LCHlch(24.50, 58.90, 322.65°)
OKLaboklab(37% 0.1215 -0.1003)
OKLCHoklch(37% 0.158 320.5)
XYZxyz(8.2502, 4.2551, 16.0063)
Luminance0.0425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621371 #227113
analogous
#331371 #621371 #711351
triadic
#621371 #716213 #137162
tetradic
#621371 #713313 #227113 #135171
square
#621371 #713313 #227113 #135171
split-complementary
#621371 #517113 #137133
monochromatic
#17041A #350A3D #621371 #8F1CA5 #BD25DA

Accessibility & contrast

On white

11.35
#621371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#621371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621371
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621371#FFFFFF#000000##FFFFFF
##6213711.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#1E3D6F
Tritanopia (blue-blind)
#622842
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #621371;
/* rgb */ color: rgb(98, 19, 113);
/* oklch */ color: oklch(37.0% 0.158 320.5);
Tailwind
colors: {
  custom: {
    50: '#925c9a',
    500: '#621371',
    950: '#000000',
  },
}
SCSS
$custom: #621371;
$custom-light: #925c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#621371",
  "rgb": {
    "r": 98,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 290.426,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36997,
    "c": 0.15757,
    "h": 320.5
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#621371
secondary
#4AA838
accent
#EE3A57
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #621371

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

Preview Lab → · Contrast checker → · Palette generator →

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