#621B87#621B87

#621B87 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.170 H 310.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#621B87
RGBrgb(98, 27, 135)
HSLhsl(279, 67%, 32%)
HSVhsv(279, 80%, 53%)
CMYKcmyk(27.4%, 80%, 0%, 47.1%)
CIE-LABlab(27.10, 48.68, -45.47)
CIE-LCHlch(27.10, 66.62, 316.96°)
OKLaboklab(39.35% 0.1106 -0.1289)
OKLCHoklch(39.35% 0.17 310.6)
XYZxyz(9.8013, 5.1300, 23.3909)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621B87 #40871B
analogous
#2C1B87 #621B87 #871B76
triadic
#621B87 #87621B #1B8762
tetradic
#621B87 #872C1B #40871B #1B7687
square
#621B87 #872C1B #40871B #1B7687
split-complementary
#621B87 #76871B #1B872C
monochromatic
#180721 #3D1154 #621B87 #8725BA #A643D9

Accessibility & contrast

On white

10.37
#621B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#621B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621B87
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621B87#FFFFFF#000000##FFFFFF
##621B871.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#5D3651
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #621b87;
/* rgb */ color: rgb(98, 27, 135);
/* oklch */ color: oklch(39.4% 0.170 310.6);
Tailwind
colors: {
  custom: {
    50: '#9360ab',
    500: '#621b87',
    950: '#000000',
  },
}
SCSS
$custom: #621b87;
$custom-light: #9360ab;
$custom-dark: #000000;
JSON
{
  "hex": "#621b87",
  "rgb": {
    "r": 98,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 279.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.16985,
    "h": 310.6
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#621B87
secondary
#6CBA44
accent
#EA3E79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #621B87

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

Preview Lab → · Contrast checker → · Palette generator →

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