#621989#621989

#621989 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.174 H 310.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#621989
RGBrgb(98, 25, 137)
HSLhsl(279, 69%, 32%)
HSVhsv(279, 82%, 54%)
CMYKcmyk(28.5%, 81.8%, 0%, 46.3%)
CIE-LABlab(27.01, 49.85, -46.86)
CIE-LCHlch(27.01, 68.41, 316.77°)
OKLaboklab(39.34% 0.1118 -0.133)
OKLCHoklch(39.34% 0.174 310.1)
XYZxyz(9.8991, 5.0983, 24.1247)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621989 #408919
analogous
#2A1989 #621989 #891978
triadic
#621989 #896219 #198962
tetradic
#621989 #892A19 #408919 #197889
square
#621989 #892A19 #408919 #197889
split-complementary
#621989 #788919 #19892A
monochromatic
#180621 #3D1055 #621989 #8722BD #A640DC

Accessibility & contrast

On white

10.40
#621989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#621989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621989
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621989#FFFFFF#000000##FFFFFF
##6219891.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#5C3651
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #621989;
/* rgb */ color: rgb(98, 25, 137);
/* oklch */ color: oklch(39.3% 0.174 310.1);
Tailwind
colors: {
  custom: {
    50: '#9360ac',
    500: '#621989',
    950: '#000000',
  },
}
SCSS
$custom: #621989;
$custom-light: #9360ac;
$custom-dark: #000000;
JSON
{
  "hex": "#621989",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 279.107,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39341,
    "c": 0.17376,
    "h": 310.1
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#621989
secondary
#6CBC41
accent
#EC3C79
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #621989

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

Preview Lab → · Contrast checker → · Palette generator →

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