#621E8A#621E8A

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

Color values

HEX#621E8A
RGBrgb(98, 30, 138)
HSLhsl(278, 64%, 33%)
HSVhsv(278, 78%, 54%)
CMYKcmyk(29%, 78.3%, 0%, 45.9%)
CIE-LABlab(27.74, 48.21, -46.31)
CIE-LCHlch(27.74, 66.84, 316.15°)
OKLaboklab(39.88% 0.1072 -0.1314)
OKLCHoklch(39.88% 0.17 309.2)
XYZxyz(10.0878, 5.3604, 24.5431)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621E8A #468A1E
analogous
#2C1E8A #621E8A #8A1E7C
triadic
#621E8A #8A621E #1E8A62
tetradic
#621E8A #8A2C1E #468A1E #1E7C8A
square
#621E8A #8A2C1E #468A1E #1E7C8A
split-complementary
#621E8A #7C8A1E #1E8A2C
monochromatic
#1B0825 #3E1358 #621E8A #8629BC #A44BD8

Accessibility & contrast

On white

10.14
#621E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#621E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621E8A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621E8A#FFFFFF#000000##FFFFFF
##621E8A1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #621e8a;
/* rgb */ color: rgb(98, 30, 138);
/* oklch */ color: oklch(39.9% 0.170 309.2);
Tailwind
colors: {
  custom: {
    50: '#9362ad',
    500: '#621e8a',
    950: '#000000',
  },
}
SCSS
$custom: #621e8a;
$custom-light: #9362ad;
$custom-dark: #000000;
JSON
{
  "hex": "#621e8a",
  "rgb": {
    "r": 98,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 277.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.16961,
    "h": 309.2
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#621E8A
secondary
#73BA4A
accent
#E7417E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #621E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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