#622699#622699

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

Color values

HEX#622699
RGBrgb(98, 38, 153)
HSLhsl(271, 60%, 37%)
HSVhsv(271, 75%, 60%)
CMYKcmyk(35.9%, 75.2%, 0%, 40%)
CIE-LABlab(30.11, 48.37, -51.69)
CIE-LCHlch(30.11, 70.80, 313.10°)
OKLaboklab(41.93% 0.0964 -0.1473)
OKLCHoklch(41.93% 0.176 303.2)
XYZxyz(11.4785, 6.2828, 30.7388)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622699 #5D9926
analogous
#282699 #622699 #992697
triadic
#622699 #996226 #269962
tetradic
#622699 #992826 #5D9926 #269799
square
#622699 #992826 #5D9926 #269799
split-complementary
#622699 #979926 #269928
monochromatic
#230E37 #431A68 #622699 #8132CA #9F62D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##622699#FFFFFF#000000##FFFFFF
##6226991.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)
#00469C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#57435E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #622699;
/* rgb */ color: rgb(98, 38, 153);
/* oklch */ color: oklch(41.9% 0.176 303.2);
Tailwind
colors: {
  custom: {
    50: '#9466b8',
    500: '#622699',
    950: '#000000',
  },
}
SCSS
$custom: #622699;
$custom-light: #9466b8;
$custom-dark: #000000;
JSON
{
  "hex": "#622699",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 271.304,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.17605,
    "h": 303.2
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#622699
secondary
#8BBD5E
accent
#E34490
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622699

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

Preview Lab → · Contrast checker → · Palette generator →

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