#621D97#621D97

#621D97 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.183 H 304.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#621D97
RGBrgb(98, 29, 151)
HSLhsl(274, 68%, 35%)
HSVhsv(274, 81%, 59%)
CMYKcmyk(35.1%, 80.8%, 0%, 40.8%)
CIE-LABlab(28.67, 51.58, -52.83)
CIE-LCHlch(28.67, 73.83, 314.31°)
OKLaboklab(40.86% 0.1049 -0.1506)
OKLCHoklch(40.86% 0.183 304.9)
XYZxyz(11.0610, 5.7098, 29.7915)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621D97 #52971D
analogous
#251D97 #621D97 #971D8F
triadic
#621D97 #97621D #1D9762
tetradic
#621D97 #97251D #52971D #1D8F97
square
#621D97 #97251D #52971D #1D8F97
split-complementary
#621D97 #8F971D #1D9725
monochromatic
#1F0930 #411364 #621D97 #8327CA #A051DE

Accessibility & contrast

On white

9.80
#621D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#621D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621D97
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621D97#FFFFFF#000000##FFFFFF
##621D971.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#583E5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #621d97;
/* rgb */ color: rgb(98, 29, 151);
/* oklch */ color: oklch(40.9% 0.183 304.9);
Tailwind
colors: {
  custom: {
    50: '#9462b6',
    500: '#621d97',
    950: '#000000',
  },
}
SCSS
$custom: #621d97;
$custom-light: #9462b6;
$custom-dark: #000000;
JSON
{
  "hex": "#621d97",
  "rgb": {
    "r": 98,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 273.934,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40858,
    "c": 0.18349,
    "h": 304.9
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#621D97
secondary
#80C04F
accent
#EB3D89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #621D97

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

Preview Lab → · Contrast checker → · Palette generator →

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