#621F97#621F97

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

Color values

HEX#621F97
RGBrgb(98, 31, 151)
HSLhsl(274, 66%, 36%)
HSVhsv(274, 79%, 59%)
CMYKcmyk(35.1%, 79.5%, 0%, 40.8%)
CIE-LABlab(28.93, 50.82, -52.40)
CIE-LCHlch(28.93, 72.99, 314.12°)
OKLaboklab(41.04% 0.1032 -0.1493)
OKLCHoklch(41.04% 0.182 304.7)
XYZxyz(11.1116, 5.8111, 29.8084)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621F97 #54971F
analogous
#261F97 #621F97 #971F90
triadic
#621F97 #97621F #1F9762
tetradic
#621F97 #97261F #54971F #1F9097
square
#621F97 #97261F #54971F #1F9097
split-complementary
#621F97 #90971F #1F9726
monochromatic
#200A31 #411564 #621F97 #8329CA #A054DC

Accessibility & contrast

On white

9.71
#621F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621F97
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621F97#FFFFFF#000000##FFFFFF
##621F971.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #621f97;
/* rgb */ color: rgb(98, 31, 151);
/* oklch */ color: oklch(41.0% 0.182 304.7);
Tailwind
colors: {
  custom: {
    50: '#9463b6',
    500: '#621f97',
    950: '#000000',
  },
}
SCSS
$custom: #621f97;
$custom-light: #9463b6;
$custom-dark: #000000;
JSON
{
  "hex": "#621f97",
  "rgb": {
    "r": 98,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 273.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41042,
    "c": 0.18154,
    "h": 304.7
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#621F97
secondary
#83BF52
accent
#E93F8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #621F97

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

Preview Lab → · Contrast checker → · Palette generator →

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