#622387#622387

#622387 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.161 H 309.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#622387
RGBrgb(98, 35, 135)
HSLhsl(278, 59%, 33%)
HSVhsv(278, 74%, 53%)
CMYKcmyk(27.4%, 74.1%, 0%, 47.1%)
CIE-LABlab(28.24, 45.42, -43.62)
CIE-LCHlch(28.24, 62.98, 316.16°)
OKLaboklab(40.16% 0.1028 -0.1235)
OKLCHoklch(40.16% 0.161 309.8)
XYZxyz(10.0103, 5.5482, 23.4605)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622387 #488723
analogous
#302387 #622387 #87237A
triadic
#622387 #876223 #238762
tetradic
#622387 #873023 #488723 #237A87
square
#622387 #873023 #488723 #237A87
split-complementary
#622387 #7A8723 #238730
monochromatic
#1B0A26 #3F1656 #622387 #8530B8 #A352D2

Accessibility & contrast

On white

9.95
#622387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#622387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622387
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622387#FFFFFF#000000##FFFFFF
##6223871.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#0D4485
Tritanopia (blue-blind)
#5D3A53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #622387;
/* rgb */ color: rgb(98, 35, 135);
/* oklch */ color: oklch(40.2% 0.161 309.8);
Tailwind
colors: {
  custom: {
    50: '#9364ab',
    500: '#622387',
    950: '#000000',
  },
}
SCSS
$custom: #622387;
$custom-light: #9364ab;
$custom-dark: #000000;
JSON
{
  "hex": "#622387",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 277.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.16074,
    "h": 309.8
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#622387
secondary
#76B650
accent
#E24680
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622387

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

Preview Lab → · Contrast checker → · Palette generator →

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