#622587#622587

#622587 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.158 H 309.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#622587
RGBrgb(98, 37, 135)
HSLhsl(277, 57%, 34%)
HSVhsv(277, 73%, 53%)
CMYKcmyk(27.4%, 72.6%, 0%, 47.1%)
CIE-LABlab(28.56, 44.52, -43.10)
CIE-LCHlch(28.56, 61.97, 315.93°)
OKLaboklab(40.39% 0.1007 -0.122)
OKLCHoklch(40.39% 0.158 309.5)
XYZxyz(10.0709, 5.6693, 23.4807)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622587 #4A8725
analogous
#312587 #622587 #87257B
triadic
#622587 #876225 #258762
tetradic
#622587 #873125 #4A8725 #257B87
square
#622587 #873125 #4A8725 #257B87
split-complementary
#622587 #7B8725 #258731
monochromatic
#1C0B27 #3F1857 #622587 #8532B7 #A256D1

Accessibility & contrast

On white

9.84
#622587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#622587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622587
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622587#FFFFFF#000000##FFFFFF
##6225871.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#114485
Tritanopia (blue-blind)
#5D3B53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #622587;
/* rgb */ color: rgb(98, 37, 135);
/* oklch */ color: oklch(40.4% 0.158 309.5);
Tailwind
colors: {
  custom: {
    50: '#9265ab',
    500: '#622587',
    950: '#000000',
  },
}
SCSS
$custom: #622587;
$custom-light: #9265ab;
$custom-dark: #000000;
JSON
{
  "hex": "#622587",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 277.347,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.15821,
    "h": 309.5
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#622587
secondary
#78B553
accent
#E04881
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622587

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

Preview Lab → · Contrast checker → · Palette generator →

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