#622988#622988

#622988 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.154 H 308.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#622988
RGBrgb(98, 41, 136)
HSLhsl(276, 54%, 35%)
HSVhsv(276, 70%, 53%)
CMYKcmyk(27.9%, 69.9%, 0%, 46.7%)
CIE-LABlab(29.31, 42.86, -42.52)
CIE-LCHlch(29.31, 60.37, 315.23°)
OKLaboklab(40.95% 0.096 -0.1203)
OKLCHoklch(40.95% 0.154 308.6)
XYZxyz(10.2730, 5.9603, 23.8970)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622988 #4F8829
analogous
#332988 #622988 #88297F
triadic
#622988 #886229 #298862
tetradic
#622988 #883329 #4F8829 #297F88
square
#622988 #883329 #4F8829 #297F88
split-complementary
#622988 #7F8829 #298833
monochromatic
#1E0D2A #401B59 #622988 #8437B7 #A15DCE

Accessibility & contrast

On white

9.58
#622988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#622988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622988
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622988#FFFFFF#000000##FFFFFF
##6229881.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#164686
Tritanopia (blue-blind)
#5C3D55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #622988;
/* rgb */ color: rgb(98, 41, 136);
/* oklch */ color: oklch(40.9% 0.154 308.6);
Tailwind
colors: {
  custom: {
    50: '#9267ab',
    500: '#622988',
    950: '#000000',
  },
}
SCSS
$custom: #622988;
$custom-light: #9267ab;
$custom-dark: #000000;
JSON
{
  "hex": "#622988",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 276,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.15397,
    "h": 308.6
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#622988
secondary
#7DB459
accent
#DD4B85
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622988

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

Preview Lab → · Contrast checker → · Palette generator →

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