#621E8D#621E8D

#621E8D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.173 H 308.1°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#621E8D
RGBrgb(98, 30, 141)
HSLhsl(277, 65%, 34%)
HSVhsv(277, 79%, 55%)
CMYKcmyk(30.5%, 78.7%, 0%, 44.7%)
CIE-LABlab(27.98, 48.89, -47.78)
CIE-LCHlch(27.98, 68.36, 315.65°)
OKLaboklab(40.12% 0.1066 -0.1357)
OKLCHoklch(40.12% 0.173 308.1)
XYZxyz(10.3080, 5.4485, 25.7028)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621E8D #498D1E
analogous
#2B1E8D #621E8D #8D1E80
triadic
#621E8D #8D621E #1E8D62
tetradic
#621E8D #8D2B1E #498D1E #1E808D
square
#621E8D #8D2B1E #498D1E #1E808D
split-complementary
#621E8D #808D1E #1E8D2B
monochromatic
#1C0928 #3F135B #621E8D #8529BF #A34CD9

Accessibility & contrast

On white

10.05
#621E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#621E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621E8D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621E8D#FFFFFF#000000##FFFFFF
##621E8D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#5B3A55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #621e8d;
/* rgb */ color: rgb(98, 30, 141);
/* oklch */ color: oklch(40.1% 0.173 308.1);
Tailwind
colors: {
  custom: {
    50: '#9362af',
    500: '#621e8d',
    950: '#000000',
  },
}
SCSS
$custom: #621e8d;
$custom-light: #9362af;
$custom-dark: #000000;
JSON
{
  "hex": "#621e8d",
  "rgb": {
    "r": 98,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 276.757,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40117,
    "c": 0.17258,
    "h": 308.1
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#621E8D
secondary
#77BC4B
accent
#E84081
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #621E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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