#622196#622196

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

Color values

HEX#622196
RGBrgb(98, 33, 150)
HSLhsl(273, 64%, 36%)
HSVhsv(273, 78%, 59%)
CMYKcmyk(34.7%, 78%, 0%, 41.2%)
CIE-LABlab(29.12, 49.79, -51.47)
CIE-LCHlch(29.12, 71.61, 314.05°)
OKLaboklab(41.15% 0.1017 -0.1466)
OKLCHoklch(41.15% 0.178 304.8)
XYZxyz(11.0846, 5.8864, 29.4005)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622196 #559621
analogous
#272196 #622196 #96218F
triadic
#622196 #966221 #219662
tetradic
#622196 #962721 #559621 #218F96
square
#622196 #962721 #559621 #218F96
split-complementary
#622196 #8F9621 #219627
monochromatic
#200B32 #411664 #622196 #832CC8 #A057DA

Accessibility & contrast

On white

9.65
#622196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #622196
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622196#FFFFFF#000000##FFFFFF
##6221961.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#583F5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #622196;
/* rgb */ color: rgb(98, 33, 150);
/* oklch */ color: oklch(41.2% 0.178 304.8);
Tailwind
colors: {
  custom: {
    50: '#9464b6',
    500: '#622196',
    950: '#000000',
  },
}
SCSS
$custom: #622196;
$custom-light: #9464b6;
$custom-dark: #000000;
JSON
{
  "hex": "#622196",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 273.333,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.17845,
    "h": 304.8
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #622196

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

Preview Lab → · Contrast checker → · Palette generator →

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