#621F96#621F96

#621F96 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.181 H 305.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#621F96
RGBrgb(98, 31, 150)
HSLhsl(274, 66%, 35%)
HSVhsv(274, 79%, 59%)
CMYKcmyk(34.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(28.85, 50.58, -51.92)
CIE-LCHlch(28.85, 72.49, 314.25°)
OKLaboklab(40.96% 0.1035 -0.1479)
OKLCHoklch(40.96% 0.181 305)
XYZxyz(11.0308, 5.7787, 29.3825)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621F96 #53961F
analogous
#271F96 #621F96 #961F8E
triadic
#621F96 #96621F #1F9662
tetradic
#621F96 #96271F #53961F #1F8E96
square
#621F96 #96271F #53961F #1F8E96
split-complementary
#621F96 #8E961F #1F9627
monochromatic
#200A31 #411563 #621F96 #8329C9 #A054DC

Accessibility & contrast

On white

9.74
#621F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#621F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621F96
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621F96#FFFFFF#000000##FFFFFF
##621F961.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#583E5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #621f96;
/* rgb */ color: rgb(98, 31, 150);
/* oklch */ color: oklch(41.0% 0.181 305.0);
Tailwind
colors: {
  custom: {
    50: '#9463b6',
    500: '#621f96',
    950: '#000000',
  },
}
SCSS
$custom: #621f96;
$custom-light: #9463b6;
$custom-dark: #000000;
JSON
{
  "hex": "#621f96",
  "rgb": {
    "r": 98,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 273.782,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40957,
    "c": 0.18053,
    "h": 305
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#621F96
secondary
#82BF52
accent
#E93F89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #621F96

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

Preview Lab → · Contrast checker → · Palette generator →

#621F96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva