#622686#622686

#622686 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.156 H 309.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#622686
RGBrgb(98, 38, 134)
HSLhsl(278, 56%, 34%)
HSVhsv(278, 72%, 53%)
CMYKcmyk(26.9%, 71.6%, 0%, 47.5%)
CIE-LABlab(28.65, 43.82, -42.33)
CIE-LCHlch(28.65, 60.93, 315.99°)
OKLaboklab(40.43% 0.0997 -0.1198)
OKLCHoklch(40.43% 0.156 309.8)
XYZxyz(10.0323, 5.7043, 23.1222)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622686 #4A8626
analogous
#322686 #622686 #86267A
triadic
#622686 #866226 #268662
tetradic
#622686 #863226 #4A8626 #267A86
square
#622686 #863226 #4A8626 #267A86
split-complementary
#622686 #7A8626 #268632
monochromatic
#1C0B27 #3F1856 #622686 #8534B6 #A257CF

Accessibility & contrast

On white

9.81
#622686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#622686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622686
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622686#FFFFFF#000000##FFFFFF
##6226861.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#144484
Tritanopia (blue-blind)
#5D3B53
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #622686;
/* rgb */ color: rgb(98, 38, 134);
/* oklch */ color: oklch(40.4% 0.156 309.8);
Tailwind
colors: {
  custom: {
    50: '#9266aa',
    500: '#622686',
    950: '#000000',
  },
}
SCSS
$custom: #622686;
$custom-light: #9266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#622686",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 277.5,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40428,
    "c": 0.15584,
    "h": 309.8
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#622686
secondary
#78B454
accent
#DF4981
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622686

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

Preview Lab → · Contrast checker → · Palette generator →

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