#621D8A#621D8A

#621D8A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.171 H 309.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#621D8A
RGBrgb(98, 29, 138)
HSLhsl(278, 65%, 33%)
HSVhsv(278, 79%, 54%)
CMYKcmyk(29%, 79%, 0%, 45.9%)
CIE-LABlab(27.60, 48.60, -46.53)
CIE-LCHlch(27.60, 67.28, 316.25°)
OKLaboklab(39.78% 0.1081 -0.132)
OKLCHoklch(39.78% 0.171 309.3)
XYZxyz(10.0629, 5.3106, 24.5348)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621D8A #458A1D
analogous
#2C1D8A #621D8A #8A1D7B
triadic
#621D8A #8A621D #1D8A62
tetradic
#621D8A #8A2C1D #458A1D #1D7B8A
square
#621D8A #8A2C1D #458A1D #1D7B8A
split-complementary
#621D8A #7B8A1D #1D8A2C
monochromatic
#1A0825 #3E1257 #621D8A #8628BD #A449D9

Accessibility & contrast

On white

10.18
#621D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#621D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621D8A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621D8A#FFFFFF#000000##FFFFFF
##621D8A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#5C3853
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #621d8a;
/* rgb */ color: rgb(98, 29, 138);
/* oklch */ color: oklch(39.8% 0.171 309.3);
Tailwind
colors: {
  custom: {
    50: '#9361ad',
    500: '#621d8a',
    950: '#000000',
  },
}
SCSS
$custom: #621d8a;
$custom-light: #9361ad;
$custom-dark: #000000;
JSON
{
  "hex": "#621d8a",
  "rgb": {
    "r": 98,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 277.982,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.17068,
    "h": 309.3
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#621D8A
secondary
#72BB48
accent
#E8407D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #621D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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