#622897#622897

#622897 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.172 H 303.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#622897
RGBrgb(98, 40, 151)
HSLhsl(271, 58%, 37%)
HSVhsv(271, 74%, 59%)
CMYKcmyk(35.1%, 73.5%, 0%, 40.8%)
CIE-LABlab(30.28, 46.98, -50.21)
CIE-LCHlch(30.28, 68.76, 313.09°)
OKLaboklab(41.99% 0.0948 -0.1429)
OKLCHoklch(41.99% 0.172 303.6)
XYZxyz(11.3804, 6.3486, 29.8980)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622897 #5D9728
analogous
#2A2897 #622897 #972895
triadic
#622897 #976228 #289762
tetradic
#622897 #972A28 #5D9728 #289597
square
#622897 #972A28 #5D9728 #289597
split-complementary
#622897 #959728 #28972A
monochromatic
#230E36 #431B67 #622897 #8135C7 #9F64D6

Accessibility & contrast

On white

9.25
#622897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#622897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622897
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622897#FFFFFF#000000##FFFFFF
##6228971.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#57435D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #622897;
/* rgb */ color: rgb(98, 40, 151);
/* oklch */ color: oklch(42.0% 0.172 303.6);
Tailwind
colors: {
  custom: {
    50: '#9467b6',
    500: '#622897',
    950: '#000000',
  },
}
SCSS
$custom: #622897;
$custom-light: #9467b6;
$custom-dark: #000000;
JSON
{
  "hex": "#622897",
  "rgb": {
    "r": 98,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 271.351,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41989,
    "c": 0.17155,
    "h": 303.6
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#622897
secondary
#8BBC5F
accent
#E14690
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622897

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

Preview Lab → · Contrast checker → · Palette generator →

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