#621FA8#621FA8

#621FA8 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.199 H 299.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#621FA8
RGBrgb(98, 31, 168)
HSLhsl(269, 69%, 39%)
HSVhsv(269, 82%, 66%)
CMYKcmyk(41.7%, 81.5%, 0%, 34.1%)
CIE-LABlab(30.41, 54.86, -60.31)
CIE-LCHlch(30.41, 81.53, 312.29°)
OKLaboklab(42.53% 0.0983 -0.1726)
OKLCHoklch(42.53% 0.199 299.7)
XYZxyz(12.5931, 6.4036, 37.6108)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621FA8 #65A81F
analogous
#1F21A8 #621FA8 #A71FA8
triadic
#621FA8 #A8621F #1FA862
tetradic
#621FA8 #A81F21 #65A81F #1FA8A7
square
#621FA8 #A81F21 #65A81F #1FA8A7
split-complementary
#621FA8 #A8A71F #21A81F
monochromatic
#260C41 #441574 #621FA8 #802CD8 #9F60E2

Accessibility & contrast

On white

9.21
#621FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#621FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621FA8
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621FA8#FFFFFF#000000##FFFFFF
##621FA81.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#514665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #621fa8;
/* rgb */ color: rgb(98, 31, 168);
/* oklch */ color: oklch(42.5% 0.199 299.7);
Tailwind
colors: {
  custom: {
    50: '#9664c3',
    500: '#621fa8',
    950: '#000000',
  },
}
SCSS
$custom: #621fa8;
$custom-light: #9664c3;
$custom-dark: #000000;
JSON
{
  "hex": "#621fa8",
  "rgb": {
    "r": 98,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 269.343,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42527,
    "c": 0.19858,
    "h": 299.7
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#621FA8
secondary
#93C65D
accent
#EC3C96
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #621FA8

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

Preview Lab → · Contrast checker → · Palette generator →

#621FA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva