#621988#621988

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

Color values

HEX#621988
RGBrgb(98, 25, 136)
HSLhsl(279, 69%, 32%)
HSVhsv(279, 82%, 53%)
CMYKcmyk(27.9%, 81.6%, 0%, 46.7%)
CIE-LABlab(26.93, 49.63, -46.37)
CIE-LCHlch(26.93, 67.92, 316.94°)
OKLaboklab(39.26% 0.1121 -0.1315)
OKLCHoklch(39.26% 0.173 310.4)
XYZxyz(9.8277, 5.0697, 23.7486)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621988 #3F8819
analogous
#2A1988 #621988 #881977
triadic
#621988 #886219 #198862
tetradic
#621988 #882A19 #3F8819 #197788
square
#621988 #882A19 #3F8819 #197788
split-complementary
#621988 #778819 #19882A
monochromatic
#170621 #3D0F54 #621988 #8723BC #A640DC

Accessibility & contrast

On white

10.43
#621988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621988
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621988#FFFFFF#000000##FFFFFF
##6219881.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#5D3551
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #621988;
/* rgb */ color: rgb(98, 25, 136);
/* oklch */ color: oklch(39.3% 0.173 310.4);
Tailwind
colors: {
  custom: {
    50: '#9360ab',
    500: '#621988',
    950: '#000000',
  },
}
SCSS
$custom: #621988;
$custom-light: #9360ab;
$custom-dark: #000000;
JSON
{
  "hex": "#621988",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 279.459,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.17281,
    "h": 310.4
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#621988
secondary
#6BBB41
accent
#EC3C78
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #621988

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

Preview Lab → · Contrast checker → · Palette generator →

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