#621EA8#621EA8

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

Color values

HEX#621EA8
RGBrgb(98, 30, 168)
HSLhsl(270, 70%, 39%)
HSVhsv(270, 82%, 66%)
CMYKcmyk(41.7%, 82.1%, 0%, 34.1%)
CIE-LABlab(30.28, 55.22, -60.52)
CIE-LCHlch(30.28, 81.93, 312.38°)
OKLaboklab(42.44% 0.099 -0.1731)
OKLCHoklch(42.44% 0.199 299.8)
XYZxyz(12.5674, 6.3522, 37.6022)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621EA8 #64A81E
analogous
#1E1FA8 #621EA8 #A71EA8
triadic
#621EA8 #A8621E #1EA862
tetradic
#621EA8 #A81E1F #64A81E #1EA8A7
square
#621EA8 #A81E1F #64A81E #1EA8A7
split-complementary
#621EA8 #A8A71E #1FA81E
monochromatic
#250B40 #441574 #621EA8 #802AD9 #9F5EE2

Accessibility & contrast

On white

9.25
#621EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#621EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621EA8
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621EA8#FFFFFF#000000##FFFFFF
##621EA81.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #621ea8;
/* rgb */ color: rgb(98, 30, 168);
/* oklch */ color: oklch(42.4% 0.199 299.8);
Tailwind
colors: {
  custom: {
    50: '#9664c3',
    500: '#621ea8',
    950: '#000000',
  },
}
SCSS
$custom: #621ea8;
$custom-light: #9664c3;
$custom-dark: #000000;
JSON
{
  "hex": "#621ea8",
  "rgb": {
    "r": 98,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 269.565,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42441,
    "c": 0.19944,
    "h": 299.8
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#621EA8
secondary
#92C75B
accent
#ED3B95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #621EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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