#622098#622098

#622098 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.182 H 304.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#622098
RGBrgb(98, 32, 152)
HSLhsl(273, 65%, 36%)
HSVhsv(273, 79%, 60%)
CMYKcmyk(35.5%, 78.9%, 0%, 40.4%)
CIE-LABlab(29.15, 50.66, -52.65)
CIE-LCHlch(29.15, 73.07, 313.90°)
OKLaboklab(41.22% 0.1021 -0.1501)
OKLCHoklch(41.22% 0.182 304.2)
XYZxyz(11.2197, 5.8967, 30.2468)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622098 #569820
analogous
#262098 #622098 #982092
triadic
#622098 #986220 #209862
tetradic
#622098 #982620 #569820 #209298
square
#622098 #982620 #569820 #209298
split-complementary
#622098 #929820 #209826
monochromatic
#210B33 #411565 #622098 #832BCB #A057DC

Accessibility & contrast

On white

9.64
#622098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#622098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622098
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622098#FFFFFF#000000##FFFFFF
##6220981.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#573F5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #622098;
/* rgb */ color: rgb(98, 32, 152);
/* oklch */ color: oklch(41.2% 0.182 304.2);
Tailwind
colors: {
  custom: {
    50: '#9464b7',
    500: '#622098',
    950: '#000000',
  },
}
SCSS
$custom: #622098;
$custom-light: #9464b7;
$custom-dark: #000000;
JSON
{
  "hex": "#622098",
  "rgb": {
    "r": 98,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 273,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.18152,
    "h": 304.2
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#622098
secondary
#85BF54
accent
#E8408B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622098

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

Preview Lab → · Contrast checker → · Palette generator →

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