#621D87#621D87

#621D87 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.168 H 310.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#621D87
RGBrgb(98, 29, 135)
HSLhsl(279, 65%, 32%)
HSVhsv(279, 79%, 53%)
CMYKcmyk(27.4%, 78.5%, 0%, 47.1%)
CIE-LABlab(27.37, 47.92, -45.04)
CIE-LCHlch(27.37, 65.77, 316.78°)
OKLaboklab(39.54% 0.1088 -0.1277)
OKLCHoklch(39.54% 0.168 310.4)
XYZxyz(9.8487, 5.2249, 23.4067)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621D87 #42871D
analogous
#2D1D87 #621D87 #871D77
triadic
#621D87 #87621D #1D8762
tetradic
#621D87 #872D1D #42871D #1D7787
square
#621D87 #872D1D #42871D #1D7787
split-complementary
#621D87 #77871D #1D872D
monochromatic
#190722 #3D1255 #621D87 #8728B9 #A547D7

Accessibility & contrast

On white

10.27
#621D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#621D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621D87
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621D87#FFFFFF#000000##FFFFFF
##621D871.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#014285
Tritanopia (blue-blind)
#5D3751
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #621d87;
/* rgb */ color: rgb(98, 29, 135);
/* oklch */ color: oklch(39.5% 0.168 310.4);
Tailwind
colors: {
  custom: {
    50: '#9361ab',
    500: '#621d87',
    950: '#000000',
  },
}
SCSS
$custom: #621d87;
$custom-light: #9361ab;
$custom-dark: #000000;
JSON
{
  "hex": "#621d87",
  "rgb": {
    "r": 98,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 279.057,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.16774,
    "h": 310.4
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#621D87
secondary
#6FB946
accent
#E8407B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #621D87

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

Preview Lab → · Contrast checker → · Palette generator →

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