#621997#621997

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

Color values

HEX#621997
RGBrgb(98, 25, 151)
HSLhsl(275, 72%, 35%)
HSVhsv(275, 83%, 59%)
CMYKcmyk(35.1%, 83.4%, 0%, 40.8%)
CIE-LABlab(28.18, 52.98, -53.61)
CIE-LCHlch(28.18, 75.38, 314.66°)
OKLaboklab(40.52% 0.108 -0.1529)
OKLCHoklch(40.52% 0.187 305.2)
XYZxyz(10.9693, 5.5264, 29.7610)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621997 #4E9719
analogous
#231997 #621997 #97198D
triadic
#621997 #976219 #199762
tetradic
#621997 #972319 #4E9719 #198D97
square
#621997 #972319 #4E9719 #198D97
split-complementary
#621997 #8D9719 #199723
monochromatic
#1E082E #401062 #621997 #8422CC #A149E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##621997#FFFFFF#000000##FFFFFF
##6219971.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #621997;
/* rgb */ color: rgb(98, 25, 151);
/* oklch */ color: oklch(40.5% 0.187 305.2);
Tailwind
colors: {
  custom: {
    50: '#9461b7',
    500: '#621997',
    950: '#000000',
  },
}
SCSS
$custom: #621997;
$custom-light: #9461b7;
$custom-dark: #000000;
JSON
{
  "hex": "#621997",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 151
  },
  "hsl": {
    "h": 274.762,
    "s": 71.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40522,
    "c": 0.18713,
    "h": 305.2
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #621997

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

Preview Lab → · Contrast checker → · Palette generator →

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