#621987#621987

#621987 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.172 H 310.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#621987
RGBrgb(98, 25, 135)
HSLhsl(280, 69%, 31%)
HSVhsv(280, 81%, 53%)
CMYKcmyk(27.4%, 81.5%, 0%, 47.1%)
CIE-LABlab(26.85, 49.41, -45.87)
CIE-LCHlch(26.85, 67.42, 317.12°)
OKLaboklab(39.18% 0.1123 -0.1301)
OKLCHoklch(39.18% 0.172 310.8)
XYZxyz(9.7570, 5.0414, 23.3761)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621987 #3E8719
analogous
#2B1987 #621987 #871975
triadic
#621987 #876219 #198762
tetradic
#621987 #872B19 #3E8719 #197587
square
#621987 #872B19 #3E8719 #197587
split-complementary
#621987 #758719 #19872B
monochromatic
#170620 #3D0F53 #621987 #8723BB #A73FDB

Accessibility & contrast

On white

10.46
#621987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#621987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621987
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621987#FFFFFF#000000##FFFFFF
##6219871.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#5D3550
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #621987;
/* rgb */ color: rgb(98, 25, 135);
/* oklch */ color: oklch(39.2% 0.172 310.8);
Tailwind
colors: {
  custom: {
    50: '#9360ab',
    500: '#621987',
    950: '#000000',
  },
}
SCSS
$custom: #621987;
$custom-light: #9360ab;
$custom-dark: #000000;
JSON
{
  "hex": "#621987",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 279.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39179,
    "c": 0.17186,
    "h": 310.8
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#621987
secondary
#6ABA41
accent
#EC3C77
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #621987

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

Preview Lab → · Contrast checker → · Palette generator →

#621987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva