#622187#622187

#622187 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.163 H 310.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#622187
RGBrgb(98, 33, 135)
HSLhsl(278, 61%, 33%)
HSVhsv(278, 76%, 53%)
CMYKcmyk(27.4%, 75.6%, 0%, 47.1%)
CIE-LABlab(27.94, 46.29, -44.12)
CIE-LCHlch(27.94, 63.95, 316.38°)
OKLaboklab(39.94% 0.1049 -0.125)
OKLCHoklch(39.94% 0.163 310)
XYZxyz(9.9532, 5.4339, 23.4415)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622187 #468721
analogous
#2F2187 #622187 #872179
triadic
#622187 #876221 #218762
tetradic
#622187 #872F21 #468721 #217987
square
#622187 #872F21 #468721 #217987
split-complementary
#622187 #798721 #21872F
monochromatic
#1B0925 #3E1556 #622187 #862DB8 #A34FD4

Accessibility & contrast

On white

10.06
#622187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#622187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622187
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622187#FFFFFF#000000##FFFFFF
##6221871.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#094385
Tritanopia (blue-blind)
#5D3952
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #622187;
/* rgb */ color: rgb(98, 33, 135);
/* oklch */ color: oklch(39.9% 0.163 310.0);
Tailwind
colors: {
  custom: {
    50: '#9363ab',
    500: '#622187',
    950: '#000000',
  },
}
SCSS
$custom: #622187;
$custom-light: #9363ab;
$custom-dark: #000000;
JSON
{
  "hex": "#622187",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 278.235,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.16318,
    "h": 310
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#622187
secondary
#73B74D
accent
#E4447E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622187

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

Preview Lab → · Contrast checker → · Palette generator →

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