#622696#622696

#622696 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.173 H 304.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#622696
RGBrgb(98, 38, 150)
HSLhsl(272, 60%, 37%)
HSVhsv(272, 75%, 59%)
CMYKcmyk(34.7%, 74.7%, 0%, 41.2%)
CIE-LABlab(29.87, 47.64, -50.25)
CIE-LCHlch(29.87, 69.24, 313.48°)
OKLaboklab(41.68% 0.097 -0.143)
OKLCHoklch(41.68% 0.173 304.2)
XYZxyz(11.2339, 6.1849, 29.4502)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622696 #5A9626
analogous
#2A2696 #622696 #962692
triadic
#622696 #966226 #269662
tetradic
#622696 #962A26 #5A9626 #269296
square
#622696 #962A26 #5A9626 #269296
split-complementary
#622696 #929626 #26962A
monochromatic
#220D34 #421A65 #622696 #8232C7 #9F60D7

Accessibility & contrast

On white

9.39
#622696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#622696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622696
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622696#FFFFFF#000000##FFFFFF
##6226961.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#58415C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #622696;
/* rgb */ color: rgb(98, 38, 150);
/* oklch */ color: oklch(41.7% 0.173 304.2);
Tailwind
colors: {
  custom: {
    50: '#9466b6',
    500: '#622696',
    950: '#000000',
  },
}
SCSS
$custom: #622696;
$custom-light: #9466b6;
$custom-dark: #000000;
JSON
{
  "hex": "#622696",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 272.143,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.17286,
    "h": 304.2
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#622696
secondary
#88BC5C
accent
#E3458E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622696

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

Preview Lab → · Contrast checker → · Palette generator →

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