#622786#622786

#622786 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.155 H 309.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#622786
RGBrgb(98, 39, 134)
HSLhsl(277, 55%, 34%)
HSVhsv(277, 71%, 53%)
CMYKcmyk(26.9%, 70.9%, 0%, 47.5%)
CIE-LABlab(28.82, 43.35, -42.06)
CIE-LCHlch(28.82, 60.40, 315.87°)
OKLaboklab(40.55% 0.0986 -0.119)
OKLCHoklch(40.55% 0.155 309.6)
XYZxyz(10.0647, 5.7691, 23.1330)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622786 #4B8627
analogous
#332786 #622786 #86277B
triadic
#622786 #866227 #278662
tetradic
#622786 #863327 #4B8627 #277B86
square
#622786 #863327 #4B8627 #277B86
split-complementary
#622786 #7B8627 #278633
monochromatic
#1D0B27 #3F1957 #622786 #8535B5 #A259CF

Accessibility & contrast

On white

9.75
#622786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#622786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622786
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622786#FFFFFF#000000##FFFFFF
##6227861.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #622786;
/* rgb */ color: rgb(98, 39, 134);
/* oklch */ color: oklch(40.5% 0.155 309.6);
Tailwind
colors: {
  custom: {
    50: '#9266aa',
    500: '#622786',
    950: '#000000',
  },
}
SCSS
$custom: #622786;
$custom-light: #9266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#622786",
  "rgb": {
    "r": 98,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 277.263,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40549,
    "c": 0.15451,
    "h": 309.6
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#622786
secondary
#79B455
accent
#DE4A82
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622786

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

Preview Lab → · Contrast checker → · Palette generator →

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