#622A96#622A96

#622A96 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.168 H 303.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#622A96
RGBrgb(98, 42, 150)
HSLhsl(271, 56%, 38%)
HSVhsv(271, 72%, 59%)
CMYKcmyk(34.7%, 72%, 0%, 41.2%)
CIE-LABlab(30.53, 45.79, -49.18)
CIE-LCHlch(30.53, 67.20, 312.95°)
OKLaboklab(42.15% 0.093 -0.1399)
OKLCHoklch(42.15% 0.168 303.6)
XYZxyz(11.3687, 6.4546, 29.4952)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622A96 #5E962A
analogous
#2C2A96 #622A96 #962A94
triadic
#622A96 #96622A #2A9662
tetradic
#622A96 #962C2A #5E962A #2A9496
square
#622A96 #962C2A #5E962A #2A9496
split-complementary
#622A96 #94962A #2A962C
monochromatic
#240F36 #431D66 #622A96 #8137C6 #9F66D4

Accessibility & contrast

On white

9.17
#622A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#622A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622A96
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622A96#FFFFFF#000000##FFFFFF
##622A961.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#58445D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #622a96;
/* rgb */ color: rgb(98, 42, 150);
/* oklch */ color: oklch(42.1% 0.168 303.6);
Tailwind
colors: {
  custom: {
    50: '#9368b6',
    500: '#622a96',
    950: '#000000',
  },
}
SCSS
$custom: #622a96;
$custom-light: #9368b6;
$custom-dark: #000000;
JSON
{
  "hex": "#622a96",
  "rgb": {
    "r": 98,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 271.111,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42146,
    "c": 0.168,
    "h": 303.6
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#622A96
secondary
#8CBA61
accent
#E04891
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622A96

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

Preview Lab → · Contrast checker → · Palette generator →

#622A96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva