#622698#622698

#622698 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.175 H 303.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#622698
RGBrgb(98, 38, 152)
HSLhsl(272, 60%, 37%)
HSVhsv(272, 75%, 60%)
CMYKcmyk(35.5%, 75%, 0%, 40.4%)
CIE-LABlab(30.03, 48.13, -51.21)
CIE-LCHlch(30.03, 70.28, 313.22°)
OKLaboklab(41.84% 0.0966 -0.1459)
OKLCHoklch(41.84% 0.175 303.5)
XYZxyz(11.3963, 6.2499, 30.3056)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622698 #5C9826
analogous
#292698 #622698 #982695
triadic
#622698 #986226 #269862
tetradic
#622698 #982926 #5C9826 #269598
square
#622698 #982926 #5C9826 #269598
split-complementary
#622698 #959826 #269829
monochromatic
#230E36 #421A67 #622698 #8232C9 #9F61D7

Accessibility & contrast

On white

9.33
#622698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#622698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622698
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622698#FFFFFF#000000##FFFFFF
##6226981.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#57425D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #622698;
/* rgb */ color: rgb(98, 38, 152);
/* oklch */ color: oklch(41.8% 0.175 303.5);
Tailwind
colors: {
  custom: {
    50: '#9466b7',
    500: '#622698',
    950: '#000000',
  },
}
SCSS
$custom: #622698;
$custom-light: #9466b7;
$custom-dark: #000000;
JSON
{
  "hex": "#622698",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 271.579,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.17498,
    "h": 303.5
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#622698
secondary
#8ABD5D
accent
#E34590
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622698

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

Preview Lab → · Contrast checker → · Palette generator →

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