#622797#622797

#622797 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.173 H 303.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#622797
RGBrgb(98, 39, 151)
HSLhsl(272, 59%, 37%)
HSVhsv(272, 74%, 59%)
CMYKcmyk(35.1%, 74.2%, 0%, 40.8%)
CIE-LABlab(30.11, 47.43, -50.47)
CIE-LCHlch(30.11, 69.26, 313.22°)
OKLaboklab(41.87% 0.0958 -0.1437)
OKLCHoklch(41.87% 0.173 303.7)
XYZxyz(11.3471, 6.2821, 29.8869)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622797 #5C9727
analogous
#2A2797 #622797 #972794
triadic
#622797 #976227 #279762
tetradic
#622797 #972A27 #5C9727 #279497
square
#622797 #972A27 #5C9727 #279497
split-complementary
#622797 #949727 #27972A
monochromatic
#230E36 #421A66 #622797 #8234C8 #9F62D6

Accessibility & contrast

On white

9.31
#622797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#622797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622797
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622797#FFFFFF#000000##FFFFFF
##6227971.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #622797;
/* rgb */ color: rgb(98, 39, 151);
/* oklch */ color: oklch(41.9% 0.173 303.7);
Tailwind
colors: {
  custom: {
    50: '#9467b6',
    500: '#622797',
    950: '#000000',
  },
}
SCSS
$custom: #622797;
$custom-light: #9467b6;
$custom-dark: #000000;
JSON
{
  "hex": "#622797",
  "rgb": {
    "r": 98,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 271.607,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41874,
    "c": 0.17274,
    "h": 303.7
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#622797
secondary
#8ABC5E
accent
#E24690
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622797

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

Preview Lab → · Contrast checker → · Palette generator →

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