#622197#622197

#622197 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.179 H 304.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#622197
RGBrgb(98, 33, 151)
HSLhsl(273, 64%, 36%)
HSVhsv(273, 78%, 59%)
CMYKcmyk(35.1%, 78.1%, 0%, 40.8%)
CIE-LABlab(29.21, 50.02, -51.95)
CIE-LCHlch(29.21, 72.12, 313.92°)
OKLaboklab(41.24% 0.1015 -0.148)
OKLCHoklch(41.24% 0.179 304.4)
XYZxyz(11.1655, 5.9188, 29.8264)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622197 #569721
analogous
#272197 #622197 #972191
triadic
#622197 #976221 #219762
tetradic
#622197 #972721 #569721 #219197
square
#622197 #972721 #569721 #219197
split-complementary
#622197 #919721 #219727
monochromatic
#210B33 #411665 #622197 #832CC9 #A058DA

Accessibility & contrast

On white

9.62
#622197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#622197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622197
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622197#FFFFFF#000000##FFFFFF
##6221971.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#583F5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #622197;
/* rgb */ color: rgb(98, 33, 151);
/* oklch */ color: oklch(41.2% 0.179 304.4);
Tailwind
colors: {
  custom: {
    50: '#9464b6',
    500: '#622197',
    950: '#000000',
  },
}
SCSS
$custom: #622197;
$custom-light: #9464b6;
$custom-dark: #000000;
JSON
{
  "hex": "#622197",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 273.051,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.17947,
    "h": 304.4
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#622197
secondary
#85BE55
accent
#E7418B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622197

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

Preview Lab → · Contrast checker → · Palette generator →

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