#621788#621788

#621788 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.175 H 310.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#621788
RGBrgb(98, 23, 136)
HSLhsl(280, 71%, 31%)
HSVhsv(280, 83%, 53%)
CMYKcmyk(27.9%, 83.1%, 0%, 46.7%)
CIE-LABlab(26.70, 50.31, -46.75)
CIE-LCHlch(26.70, 68.67, 317.10°)
OKLaboklab(39.1% 0.1137 -0.1327)
OKLCHoklch(39.1% 0.175 310.6)
XYZxyz(9.7865, 4.9873, 23.7349)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621788 #3D8817
analogous
#291788 #621788 #881775
triadic
#621788 #886217 #178862
tetradic
#621788 #882917 #3D8817 #177588
square
#621788 #882917 #3D8817 #177588
split-complementary
#621788 #758817 #178829
monochromatic
#17051F #3C0E54 #621788 #8820BC #A73BDE

Accessibility & contrast

On white

10.51
#621788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621788
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621788#FFFFFF#000000##FFFFFF
##6217881.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#5D3451
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #621788;
/* rgb */ color: rgb(98, 23, 136);
/* oklch */ color: oklch(39.1% 0.175 310.6);
Tailwind
colors: {
  custom: {
    50: '#935fab',
    500: '#621788',
    950: '#000000',
  },
}
SCSS
$custom: #621788;
$custom-light: #935fab;
$custom-dark: #000000;
JSON
{
  "hex": "#621788",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 279.823,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.1747,
    "h": 310.6
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#621788
secondary
#69BC3F
accent
#EE3A76
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #621788

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

Preview Lab → · Contrast checker → · Palette generator →

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