#621C8B#621C8B

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

Color values

HEX#621C8B
RGBrgb(98, 28, 139)
HSLhsl(278, 66%, 33%)
HSVhsv(278, 80%, 55%)
CMYKcmyk(29.5%, 79.9%, 0%, 45.5%)
CIE-LABlab(27.55, 49.20, -47.24)
CIE-LCHlch(27.55, 68.21, 316.17°)
OKLaboklab(39.77% 0.1088 -0.1341)
OKLCHoklch(39.77% 0.173 309)
XYZxyz(10.1115, 5.2914, 24.9098)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621C8B #458B1C
analogous
#2B1C8B #621C8B #8B1C7C
triadic
#621C8B #8B621C #1C8B62
tetradic
#621C8B #8B2B1C #458B1C #1C7C8B
square
#621C8B #8B2B1C #458B1C #1C7C8B
split-complementary
#621C8B #7C8B1C #1C8B2B
monochromatic
#1A0725 #3E1258 #621C8B #8626BE #A447DA

Accessibility & contrast

On white

10.20
#621C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621C8B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621C8B#FFFFFF#000000##FFFFFF
##621C8B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #621c8b;
/* rgb */ color: rgb(98, 28, 139);
/* oklch */ color: oklch(39.8% 0.173 309.0);
Tailwind
colors: {
  custom: {
    50: '#9361ae',
    500: '#621c8b',
    950: '#000000',
  },
}
SCSS
$custom: #621c8b;
$custom-light: #9361ae;
$custom-dark: #000000;
JSON
{
  "hex": "#621c8b",
  "rgb": {
    "r": 98,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 277.838,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39767,
    "c": 0.1727,
    "h": 309
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#621C8B
secondary
#72BC47
accent
#E93E7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #621C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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