#622899#622899

#622899 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.174 H 302.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#622899
RGBrgb(98, 40, 153)
HSLhsl(271, 59%, 38%)
HSVhsv(271, 74%, 60%)
CMYKcmyk(35.9%, 73.9%, 0%, 40%)
CIE-LABlab(30.43, 47.47, -51.17)
CIE-LCHlch(30.43, 69.80, 312.85°)
OKLaboklab(42.15% 0.0945 -0.1458)
OKLCHoklch(42.15% 0.174 302.9)
XYZxyz(11.5442, 6.4142, 30.7607)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622899 #5F9928
analogous
#292899 #622899 #992898
triadic
#622899 #996228 #289962
tetradic
#622899 #992928 #5F9928 #289899
square
#622899 #992928 #5F9928 #289899
split-complementary
#622899 #989928 #289929
monochromatic
#240F38 #431B68 #622899 #8135CA #9F65D7

Accessibility & contrast

On white

9.20
#622899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#622899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622899
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622899#FFFFFF#000000##FFFFFF
##6228991.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#57445E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #622899;
/* rgb */ color: rgb(98, 40, 153);
/* oklch */ color: oklch(42.2% 0.174 302.9);
Tailwind
colors: {
  custom: {
    50: '#9468b8',
    500: '#622899',
    950: '#000000',
  },
}
SCSS
$custom: #622899;
$custom-light: #9468b8;
$custom-dark: #000000;
JSON
{
  "hex": "#622899",
  "rgb": {
    "r": 98,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 270.796,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.1737,
    "h": 302.9
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#622899
secondary
#8DBD60
accent
#E24692
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622899

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

Preview Lab → · Contrast checker → · Palette generator →

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