#621F8D#621F8D

#621F8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.172 H 308.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#621F8D
RGBrgb(98, 31, 141)
HSLhsl(277, 64%, 34%)
HSVhsv(277, 78%, 55%)
CMYKcmyk(30.5%, 78%, 0%, 44.7%)
CIE-LABlab(28.11, 48.49, -47.56)
CIE-LCHlch(28.11, 67.92, 315.56°)
OKLaboklab(40.21% 0.1057 -0.1351)
OKLCHoklch(40.21% 0.172 308)
XYZxyz(10.3337, 5.4999, 25.7113)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621F8D #4A8D1F
analogous
#2B1F8D #621F8D #8D1F81
triadic
#621F8D #8D621F #1F8D62
tetradic
#621F8D #8D2B1F #4A8D1F #1F818D
square
#621F8D #8D2B1F #4A8D1F #1F818D
split-complementary
#621F8D #818D1F #1F8D2B
monochromatic
#1C0929 #3F145B #621F8D #852ABF #A24ED8

Accessibility & contrast

On white

10.00
#621F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#621F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621F8D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621F8D#FFFFFF#000000##FFFFFF
##621F8D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#5B3A55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #621f8d;
/* rgb */ color: rgb(98, 31, 141);
/* oklch */ color: oklch(40.2% 0.172 308.0);
Tailwind
colors: {
  custom: {
    50: '#9362af',
    500: '#621f8d',
    950: '#000000',
  },
}
SCSS
$custom: #621f8d;
$custom-light: #9362af;
$custom-dark: #000000;
JSON
{
  "hex": "#621f8d",
  "rgb": {
    "r": 98,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 276.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.1715,
    "h": 308
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#621F8D
secondary
#78BB4D
accent
#E74182
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #621F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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