#621D8D#621D8D

#621D8D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.174 H 308.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#621D8D
RGBrgb(98, 29, 141)
HSLhsl(277, 66%, 33%)
HSVhsv(277, 79%, 55%)
CMYKcmyk(30.5%, 79.4%, 0%, 44.7%)
CIE-LABlab(27.84, 49.28, -48.00)
CIE-LCHlch(27.84, 68.79, 315.75°)
OKLaboklab(40.02% 0.1075 -0.1364)
OKLCHoklch(40.02% 0.174 308.2)
XYZxyz(10.2831, 5.3987, 25.6945)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621D8D #488D1D
analogous
#2A1D8D #621D8D #8D1D80
triadic
#621D8D #8D621D #1D8D62
tetradic
#621D8D #8D2A1D #488D1D #1D808D
square
#621D8D #8D2A1D #488D1D #1D808D
split-complementary
#621D8D #808D1D #1D8D2A
monochromatic
#1B0827 #3F135A #621D8D #8527C0 #A34BDA

Accessibility & contrast

On white

10.10
#621D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621D8D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621D8D#FFFFFF#000000##FFFFFF
##621D8D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#5B3955
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #621d8d;
/* rgb */ color: rgb(98, 29, 141);
/* oklch */ color: oklch(40.0% 0.174 308.2);
Tailwind
colors: {
  custom: {
    50: '#9362af',
    500: '#621d8d',
    950: '#000000',
  },
}
SCSS
$custom: #621d8d;
$custom-light: #9362af;
$custom-dark: #000000;
JSON
{
  "hex": "#621d8d",
  "rgb": {
    "r": 98,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 276.964,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40023,
    "c": 0.17364,
    "h": 308.2
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#621D8D
secondary
#76BC4A
accent
#E93F80
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #621D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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