#622796#622796

#622796 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.172 H 304.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#622796
RGBrgb(98, 39, 150)
HSLhsl(272, 59%, 37%)
HSVhsv(272, 74%, 59%)
CMYKcmyk(34.7%, 74%, 0%, 41.2%)
CIE-LABlab(30.03, 47.19, -49.99)
CIE-LCHlch(30.03, 68.75, 313.35°)
OKLaboklab(41.79% 0.096 -0.1423)
OKLCHoklch(41.79% 0.172 304)
XYZxyz(11.2663, 6.2497, 29.4610)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622796 #5B9627
analogous
#2B2796 #622796 #962793
triadic
#622796 #966227 #279662
tetradic
#622796 #962B27 #5B9627 #279396
square
#622796 #962B27 #5B9627 #279396
split-complementary
#622796 #939627 #27962B
monochromatic
#230E35 #421A65 #622796 #8234C7 #9F61D6

Accessibility & contrast

On white

9.33
#622796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#622796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622796
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622796#FFFFFF#000000##FFFFFF
##6227961.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#58425C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #622796;
/* rgb */ color: rgb(98, 39, 150);
/* oklch */ color: oklch(41.8% 0.172 304.0);
Tailwind
colors: {
  custom: {
    50: '#9467b6',
    500: '#622796',
    950: '#000000',
  },
}
SCSS
$custom: #622796;
$custom-light: #9467b6;
$custom-dark: #000000;
JSON
{
  "hex": "#622796",
  "rgb": {
    "r": 98,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 271.892,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41793,
    "c": 0.17167,
    "h": 304
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#622796
secondary
#89BC5D
accent
#E2468F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622796

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

Preview Lab → · Contrast checker → · Palette generator →

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