#622795#622795

#622795 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.171 H 304.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#622795
RGBrgb(98, 39, 149)
HSLhsl(272, 59%, 37%)
HSVhsv(272, 74%, 58%)
CMYKcmyk(34.2%, 73.8%, 0%, 41.6%)
CIE-LABlab(29.96, 46.95, -49.50)
CIE-LCHlch(29.96, 68.22, 313.48°)
OKLaboklab(41.71% 0.0962 -0.1409)
OKLCHoklch(41.71% 0.171 304.3)
XYZxyz(11.1861, 6.2177, 29.0388)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622795 #5A9527
analogous
#2B2795 #622795 #952791
triadic
#622795 #956227 #279562
tetradic
#622795 #952B27 #5A9527 #279195
square
#622795 #952B27 #5A9527 #279195
split-complementary
#622795 #919527 #27952B
monochromatic
#220E34 #421A64 #622795 #8234C6 #9F61D6

Accessibility & contrast

On white

9.36
#622795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#622795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622795
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622795#FFFFFF#000000##FFFFFF
##6227951.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#58425C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #622795;
/* rgb */ color: rgb(98, 39, 149);
/* oklch */ color: oklch(41.7% 0.171 304.3);
Tailwind
colors: {
  custom: {
    50: '#9367b5',
    500: '#622795',
    950: '#000000',
  },
}
SCSS
$custom: #622795;
$custom-light: #9367b5;
$custom-dark: #000000;
JSON
{
  "hex": "#622795",
  "rgb": {
    "r": 98,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 272.182,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.1706,
    "h": 304.3
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#622795
secondary
#88BB5D
accent
#E2468E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622795

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

Preview Lab → · Contrast checker → · Palette generator →

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