#622397#622397

#622397 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.177 H 304.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#622397
RGBrgb(98, 35, 151)
HSLhsl(273, 62%, 36%)
HSVhsv(273, 77%, 59%)
CMYKcmyk(35.1%, 76.8%, 0%, 40.8%)
CIE-LABlab(29.50, 49.19, -51.48)
CIE-LCHlch(29.50, 71.20, 313.70°)
OKLaboklab(41.44% 0.0997 -0.1466)
OKLCHoklch(41.44% 0.177 304.2)
XYZxyz(11.2227, 6.0331, 29.8454)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622397 #589723
analogous
#282397 #622397 #972392
triadic
#622397 #976223 #239762
tetradic
#622397 #972823 #589723 #239297
square
#622397 #972823 #589723 #239297
split-complementary
#622397 #929723 #239728
monochromatic
#220C34 #421765 #622397 #822FC9 #A05BD9

Accessibility & contrast

On white

9.52
#622397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#622397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622397
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622397#FFFFFF#000000##FFFFFF
##6223971.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#58405C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #622397;
/* rgb */ color: rgb(98, 35, 151);
/* oklch */ color: oklch(41.4% 0.177 304.2);
Tailwind
colors: {
  custom: {
    50: '#9465b6',
    500: '#622397',
    950: '#000000',
  },
}
SCSS
$custom: #622397;
$custom-light: #9465b6;
$custom-dark: #000000;
JSON
{
  "hex": "#622397",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 272.586,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41438,
    "c": 0.17732,
    "h": 304.2
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#622397
secondary
#87BE58
accent
#E5428D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622397

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

Preview Lab → · Contrast checker → · Palette generator →

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