#621789#621789

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

Color values

HEX#621789
RGBrgb(98, 23, 137)
HSLhsl(279, 71%, 31%)
HSVhsv(279, 83%, 54%)
CMYKcmyk(28.5%, 83.2%, 0%, 46.3%)
CIE-LABlab(26.78, 50.52, -47.24)
CIE-LCHlch(26.78, 69.17, 316.92°)
OKLaboklab(39.18% 0.1134 -0.1341)
OKLCHoklch(39.18% 0.176 310.2)
XYZxyz(9.8579, 5.0158, 24.1109)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621789 #3E8917
analogous
#291789 #621789 #891777
triadic
#621789 #896217 #178962
tetradic
#621789 #892917 #3E8917 #177789
square
#621789 #892917 #3E8917 #177789
split-complementary
#621789 #778917 #178929
monochromatic
#170520 #3D0E55 #621789 #8720BD #A73CDE

Accessibility & contrast

On white

10.48
#621789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#621789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621789
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621789#FFFFFF#000000##FFFFFF
##6217891.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#5C3551
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #621789;
/* rgb */ color: rgb(98, 23, 137);
/* oklch */ color: oklch(39.2% 0.176 310.2);
Tailwind
colors: {
  custom: {
    50: '#935fac',
    500: '#621789',
    950: '#000000',
  },
}
SCSS
$custom: #621789;
$custom-light: #935fac;
$custom-dark: #000000;
JSON
{
  "hex": "#621789",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 279.474,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39178,
    "c": 0.17563,
    "h": 310.2
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#621789
secondary
#6ABD3F
accent
#EE3A77
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #621789

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

Preview Lab → · Contrast checker → · Palette generator →

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