#622A87#622A87

#622A87 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.151 H 308.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#622A87
RGBrgb(98, 42, 135)
HSLhsl(276, 53%, 35%)
HSVhsv(276, 69%, 53%)
CMYKcmyk(27.4%, 68.9%, 0%, 47.1%)
CIE-LABlab(29.42, 42.13, -41.72)
CIE-LCHlch(29.42, 59.29, 315.28°)
OKLaboklab(41% 0.095 -0.118)
OKLCHoklch(41% 0.151 308.8)
XYZxyz(10.2373, 6.0020, 23.5362)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622A87 #4F872A
analogous
#342A87 #622A87 #872A7E
triadic
#622A87 #87622A #2A8762
tetradic
#622A87 #87342A #4F872A #2A7E87
square
#622A87 #87342A #4F872A #2A7E87
split-complementary
#622A87 #7E872A #2A8734
monochromatic
#1E0D2A #401B58 #622A87 #8439B6 #A15ECD

Accessibility & contrast

On white

9.54
#622A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#622A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622A87
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622A87#FFFFFF#000000##FFFFFF
##622A871.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#194685
Tritanopia (blue-blind)
#5D3E55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #622a87;
/* rgb */ color: rgb(98, 42, 135);
/* oklch */ color: oklch(41.0% 0.151 308.8);
Tailwind
colors: {
  custom: {
    50: '#9268ab',
    500: '#622a87',
    950: '#000000',
  },
}
SCSS
$custom: #622a87;
$custom-light: #9268ab;
$custom-dark: #000000;
JSON
{
  "hex": "#622a87",
  "rgb": {
    "r": 98,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 276.129,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40998,
    "c": 0.15149,
    "h": 308.8
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#622A87
secondary
#7DB35A
accent
#DC4C85
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622A87

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

Preview Lab → · Contrast checker → · Palette generator →

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