#621B8D#621B8D

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

Color values

HEX#621B8D
RGBrgb(98, 27, 141)
HSLhsl(277, 68%, 33%)
HSVhsv(277, 81%, 55%)
CMYKcmyk(30.5%, 80.9%, 0%, 44.7%)
CIE-LABlab(27.58, 50.02, -48.42)
CIE-LCHlch(27.58, 69.62, 315.93°)
OKLaboklab(39.84% 0.1092 -0.1376)
OKLCHoklch(39.84% 0.176 308.4)
XYZxyz(10.2357, 5.3038, 25.6787)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621B8D #468D1B
analogous
#291B8D #621B8D #8D1B7F
triadic
#621B8D #8D621B #1B8D62
tetradic
#621B8D #8D291B #468D1B #1B7F8D
square
#621B8D #8D291B #468D1B #1B7F8D
split-complementary
#621B8D #7F8D1B #1B8D29
monochromatic
#1B0726 #3E115A #621B8D #8625C0 #A347DC

Accessibility & contrast

On white

10.19
#621B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621B8D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621B8D#FFFFFF#000000##FFFFFF
##621B8D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#5B3854
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #621b8d;
/* rgb */ color: rgb(98, 27, 141);
/* oklch */ color: oklch(39.8% 0.176 308.4);
Tailwind
colors: {
  custom: {
    50: '#9361af',
    500: '#621b8d',
    950: '#000000',
  },
}
SCSS
$custom: #621b8d;
$custom-light: #9361af;
$custom-dark: #000000;
JSON
{
  "hex": "#621b8d",
  "rgb": {
    "r": 98,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 277.368,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.17565,
    "h": 308.4
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#621B8D
secondary
#73BD46
accent
#EB3D7F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #621B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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