#621F89#621F89

#621F89 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.168 H 309.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#621F89
RGBrgb(98, 31, 137)
HSLhsl(278, 63%, 33%)
HSVhsv(278, 77%, 54%)
CMYKcmyk(28.5%, 77.4%, 0%, 46.3%)
CIE-LABlab(27.80, 47.58, -45.59)
CIE-LCHlch(27.80, 65.89, 316.23°)
OKLaboklab(39.89% 0.1065 -0.1293)
OKLCHoklch(39.89% 0.168 309.5)
XYZxyz(10.0414, 5.3830, 24.1721)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621F89 #46891F
analogous
#2D1F89 #621F89 #891F7B
triadic
#621F89 #89621F #1F8962
tetradic
#621F89 #892D1F #46891F #1F7B89
square
#621F89 #892D1F #46891F #1F7B89
split-complementary
#621F89 #7B891F #1F892D
monochromatic
#1B0825 #3E1457 #621F89 #862ABB #A44CD6

Accessibility & contrast

On white

10.11
#621F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#621F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621F89
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621F89#FFFFFF#000000##FFFFFF
##621F891.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#5C3853
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #621f89;
/* rgb */ color: rgb(98, 31, 137);
/* oklch */ color: oklch(39.9% 0.168 309.5);
Tailwind
colors: {
  custom: {
    50: '#9362ac',
    500: '#621f89',
    950: '#000000',
  },
}
SCSS
$custom: #621f89;
$custom-light: #9362ac;
$custom-dark: #000000;
JSON
{
  "hex": "#621f89",
  "rgb": {
    "r": 98,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 277.925,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39893,
    "c": 0.16751,
    "h": 309.5
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#621F89
secondary
#73B94B
accent
#E6427E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #621F89

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

Preview Lab → · Contrast checker → · Palette generator →

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