#622987#622987

#622987 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.153 H 309.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#622987
RGBrgb(98, 41, 135)
HSLhsl(276, 53%, 35%)
HSVhsv(276, 70%, 53%)
CMYKcmyk(27.4%, 69.6%, 0%, 47.1%)
CIE-LABlab(29.24, 42.62, -42.01)
CIE-LCHlch(29.24, 59.84, 315.41°)
OKLaboklab(40.87% 0.0962 -0.1188)
OKLCHoklch(40.87% 0.153 309)
XYZxyz(10.2022, 5.9320, 23.5245)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622987 #4E8729
analogous
#332987 #622987 #87297D
triadic
#622987 #876229 #298762
tetradic
#622987 #873329 #4E8729 #297D87
square
#622987 #873329 #4E8729 #297D87
split-complementary
#622987 #7D8729 #298733
monochromatic
#1E0C29 #401B58 #622987 #8437B6 #A15DCE

Accessibility & contrast

On white

9.60
#622987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#622987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622987
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622987#FFFFFF#000000##FFFFFF
##6229871.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #622987;
/* rgb */ color: rgb(98, 41, 135);
/* oklch */ color: oklch(40.9% 0.153 309.0);
Tailwind
colors: {
  custom: {
    50: '#9267ab',
    500: '#622987',
    950: '#000000',
  },
}
SCSS
$custom: #622987;
$custom-light: #9267ab;
$custom-dark: #000000;
JSON
{
  "hex": "#622987",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 276.383,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40871,
    "c": 0.15287,
    "h": 309
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#622987
secondary
#7CB359
accent
#DD4B84
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622987

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

Preview Lab → · Contrast checker → · Palette generator →

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