#621998#621998

#621998 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.188 H 304.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#621998
RGBrgb(98, 25, 152)
HSLhsl(274, 72%, 35%)
HSVhsv(274, 84%, 60%)
CMYKcmyk(35.5%, 83.6%, 0%, 40.4%)
CIE-LABlab(28.27, 53.21, -54.09)
CIE-LCHlch(28.27, 75.87, 314.53°)
OKLaboklab(40.61% 0.1077 -0.1542)
OKLCHoklch(40.61% 0.188 304.9)
XYZxyz(11.0508, 5.5590, 30.1905)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621998 #4F9819
analogous
#231998 #621998 #98198F
triadic
#621998 #986219 #199862
tetradic
#621998 #982319 #4F9819 #198F98
square
#621998 #982319 #4F9819 #198F98
split-complementary
#621998 #8F9819 #199823
monochromatic
#1E082F #401063 #621998 #8422CD #A14AE1

Accessibility & contrast

On white

9.94
#621998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#621998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621998
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621998#FFFFFF#000000##FFFFFF
##6219981.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#583C5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #621998;
/* rgb */ color: rgb(98, 25, 152);
/* oklch */ color: oklch(40.6% 0.188 304.9);
Tailwind
colors: {
  custom: {
    50: '#9461b7',
    500: '#621998',
    950: '#000000',
  },
}
SCSS
$custom: #621998;
$custom-light: #9461b7;
$custom-dark: #000000;
JSON
{
  "hex": "#621998",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 274.488,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40609,
    "c": 0.18808,
    "h": 304.9
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#621998
secondary
#7DC34A
accent
#EE3986
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #621998

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

Preview Lab → · Contrast checker → · Palette generator →

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