#622498#622498

#622498 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.177 H 303.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#622498
RGBrgb(98, 36, 152)
HSLhsl(272, 62%, 37%)
HSVhsv(272, 76%, 60%)
CMYKcmyk(35.5%, 76.3%, 0%, 40.4%)
CIE-LABlab(29.73, 49.01, -51.71)
CIE-LCHlch(29.73, 71.25, 313.46°)
OKLaboklab(41.63% 0.0985 -0.1473)
OKLCHoklch(41.63% 0.177 303.8)
XYZxyz(11.3341, 6.1254, 30.2849)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622498 #5A9824
analogous
#282498 #622498 #982494
triadic
#622498 #986224 #249862
tetradic
#622498 #982824 #5A9824 #249498
square
#622498 #982824 #5A9824 #249498
split-complementary
#622498 #949824 #249828
monochromatic
#220D35 #421867 #622498 #8230C9 #9F5ED9

Accessibility & contrast

On white

9.44
#622498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#622498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622498
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622498#FFFFFF#000000##FFFFFF
##6224981.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#57415C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #622498;
/* rgb */ color: rgb(98, 36, 152);
/* oklch */ color: oklch(41.6% 0.177 303.8);
Tailwind
colors: {
  custom: {
    50: '#9465b7',
    500: '#622498',
    950: '#000000',
  },
}
SCSS
$custom: #622498;
$custom-light: #9465b7;
$custom-dark: #000000;
JSON
{
  "hex": "#622498",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 272.069,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41626,
    "c": 0.17725,
    "h": 303.8
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#622498
secondary
#88BE5A
accent
#E5438E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622498

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

Preview Lab → · Contrast checker → · Palette generator →

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