#621A8A#621A8A

#621A8A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.174 H 309.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#621A8A
RGBrgb(98, 26, 138)
HSLhsl(279, 68%, 32%)
HSVhsv(279, 81%, 54%)
CMYKcmyk(29%, 81.2%, 0%, 45.9%)
CIE-LABlab(27.22, 49.71, -47.16)
CIE-LCHlch(27.22, 68.52, 316.51°)
OKLaboklab(39.51% 0.1108 -0.1339)
OKLCHoklch(39.51% 0.174 309.6)
XYZxyz(9.9929, 5.1706, 24.5114)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621A8A #428A1A
analogous
#2A1A8A #621A8A #8A1A7A
triadic
#621A8A #8A621A #1A8A62
tetradic
#621A8A #8A2A1A #428A1A #1A7A8A
square
#621A8A #8A2A1A #428A1A #1A7A8A
split-complementary
#621A8A #7A8A1A #1A8A2A
monochromatic
#190723 #3D1057 #621A8A #8724BD #A543DC

Accessibility & contrast

On white

10.32
#621A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#621A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621A8A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621A8A#FFFFFF#000000##FFFFFF
##621A8A1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#5C3752
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #621a8a;
/* rgb */ color: rgb(98, 26, 138);
/* oklch */ color: oklch(39.5% 0.174 309.6);
Tailwind
colors: {
  custom: {
    50: '#9360ad',
    500: '#621a8a',
    950: '#000000',
  },
}
SCSS
$custom: #621a8a;
$custom-light: #9360ad;
$custom-dark: #000000;
JSON
{
  "hex": "#621a8a",
  "rgb": {
    "r": 98,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 278.571,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.17375,
    "h": 309.6
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#621A8A
secondary
#6FBD43
accent
#EB3D7B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #621A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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