#621898#621898

#621898 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.189 H 305.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#621898
RGBrgb(98, 24, 152)
HSLhsl(275, 73%, 35%)
HSVhsv(275, 84%, 60%)
CMYKcmyk(35.5%, 84.2%, 0%, 40.4%)
CIE-LABlab(28.16, 53.54, -54.27)
CIE-LCHlch(28.16, 76.23, 314.61°)
OKLaboklab(40.53% 0.1084 -0.1548)
OKLCHoklch(40.53% 0.189 305)
XYZxyz(11.0298, 5.5170, 30.1835)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621898 #4E9818
analogous
#221898 #621898 #98188E
triadic
#621898 #986218 #189862
tetradic
#621898 #982218 #4E9818 #188E98
square
#621898 #982218 #4E9818 #188E98
split-complementary
#621898 #8E9818 #189822
monochromatic
#1E072E #401063 #621898 #8420CD #A148E2

Accessibility & contrast

On white

9.98
#621898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#621898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621898
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621898#FFFFFF#000000##FFFFFF
##6218981.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #621898;
/* rgb */ color: rgb(98, 24, 152);
/* oklch */ color: oklch(40.5% 0.189 305.0);
Tailwind
colors: {
  custom: {
    50: '#9560b7',
    500: '#621898',
    950: '#000000',
  },
}
SCSS
$custom: #621898;
$custom-light: #9560b7;
$custom-dark: #000000;
JSON
{
  "hex": "#621898",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 152
  },
  "hsl": {
    "h": 274.688,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40531,
    "c": 0.18892,
    "h": 305
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#621898
secondary
#7CC448
accent
#EF3886
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #621898

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

Preview Lab → · Contrast checker → · Palette generator →

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