#621F87#621F87

#621F87 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.166 H 310.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#621F87
RGBrgb(98, 31, 135)
HSLhsl(279, 63%, 33%)
HSVhsv(279, 77%, 53%)
CMYKcmyk(27.4%, 77%, 0%, 47.1%)
CIE-LABlab(27.64, 47.13, -44.59)
CIE-LCHlch(27.64, 64.88, 316.58°)
OKLaboklab(39.74% 0.1069 -0.1264)
OKLCHoklch(39.74% 0.166 310.2)
XYZxyz(9.8993, 5.3261, 23.4235)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621F87 #44871F
analogous
#2E1F87 #621F87 #871F78
triadic
#621F87 #87621F #1F8762
tetradic
#621F87 #872E1F #44871F #1F7887
square
#621F87 #872E1F #44871F #1F7887
split-complementary
#621F87 #78871F #1F872E
monochromatic
#1A0823 #3E1455 #621F87 #862AB9 #A44BD6

Accessibility & contrast

On white

10.17
#621F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#621F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621F87
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621F87#FFFFFF#000000##FFFFFF
##621F871.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#054285
Tritanopia (blue-blind)
#5D3852
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #621f87;
/* rgb */ color: rgb(98, 31, 135);
/* oklch */ color: oklch(39.7% 0.166 310.2);
Tailwind
colors: {
  custom: {
    50: '#9362ab',
    500: '#621f87',
    950: '#000000',
  },
}
SCSS
$custom: #621f87;
$custom-light: #9362ab;
$custom-dark: #000000;
JSON
{
  "hex": "#621f87",
  "rgb": {
    "r": 98,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 278.654,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39735,
    "c": 0.16551,
    "h": 310.2
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#621F87
secondary
#71B84A
accent
#E6427C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #621F87

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

Preview Lab → · Contrast checker → · Palette generator →

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