#621FA7#621FA7

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

Color values

HEX#621FA7
RGBrgb(98, 31, 167)
HSLhsl(270, 69%, 39%)
HSVhsv(270, 81%, 65%)
CMYKcmyk(41.3%, 81.4%, 0%, 34.5%)
CIE-LABlab(30.32, 54.62, -59.86)
CIE-LCHlch(30.32, 81.03, 312.38°)
OKLaboklab(42.44% 0.0986 -0.1712)
OKLCHoklch(42.44% 0.198 299.9)
XYZxyz(12.5003, 6.3665, 37.1220)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621FA7 #64A71F
analogous
#1F20A7 #621FA7 #A61FA7
triadic
#621FA7 #A7621F #1FA762
tetradic
#621FA7 #A71F20 #64A71F #1FA7A6
square
#621FA7 #A71F20 #64A71F #1FA7A6
split-complementary
#621FA7 #A7A61F #20A71F
monochromatic
#250C40 #441573 #621FA7 #802BD8 #9F5FE1

Accessibility & contrast

On white

9.24
#621FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621FA7
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621FA7#FFFFFF#000000##FFFFFF
##621FA71.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #621fa7;
/* rgb */ color: rgb(98, 31, 167);
/* oklch */ color: oklch(42.4% 0.198 299.9);
Tailwind
colors: {
  custom: {
    50: '#9664c2',
    500: '#621fa7',
    950: '#000000',
  },
}
SCSS
$custom: #621fa7;
$custom-light: #9664c2;
$custom-dark: #000000;
JSON
{
  "hex": "#621fa7",
  "rgb": {
    "r": 98,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 269.559,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.19757,
    "h": 299.9
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#621FA7
secondary
#92C65C
accent
#EC3C95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #621FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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