#621C8D#621C8D

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

Color values

HEX#621C8D
RGBrgb(98, 28, 141)
HSLhsl(277, 67%, 33%)
HSVhsv(277, 80%, 55%)
CMYKcmyk(30.5%, 80.1%, 0%, 44.7%)
CIE-LABlab(27.71, 49.66, -48.22)
CIE-LCHlch(27.71, 69.21, 315.84°)
OKLaboklab(39.93% 0.1083 -0.137)
OKLCHoklch(39.93% 0.175 308.3)
XYZxyz(10.2590, 5.3504, 25.6864)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621C8D #478D1C
analogous
#291C8D #621C8D #8D1C7F
triadic
#621C8D #8D621C #1C8D62
tetradic
#621C8D #8D291C #478D1C #1C7F8D
square
#621C8D #8D291C #478D1C #1C7F8D
split-complementary
#621C8D #7F8D1C #1C8D29
monochromatic
#1B0827 #3F125A #621C8D #8526C0 #A349DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##621C8D#FFFFFF#000000##FFFFFF
##621C8D1.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)
#003F90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#5B3954
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #621c8d;
/* rgb */ color: rgb(98, 28, 141);
/* oklch */ color: oklch(39.9% 0.175 308.3);
Tailwind
colors: {
  custom: {
    50: '#9361af',
    500: '#621c8d',
    950: '#000000',
  },
}
SCSS
$custom: #621c8d;
$custom-light: #9361af;
$custom-dark: #000000;
JSON
{
  "hex": "#621c8d",
  "rgb": {
    "r": 98,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 277.168,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39931,
    "c": 0.17466,
    "h": 308.3
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#621C8D
secondary
#74BD48
accent
#EA3E7F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #621C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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