#621877#621877

#621877 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.158 H 317.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#621877
RGBrgb(98, 24, 119)
HSLhsl(287, 66%, 28%)
HSVhsv(287, 80%, 47%)
CMYKcmyk(17.6%, 79.8%, 0%, 53.3%)
CIE-LABlab(25.51, 46.35, -37.94)
CIE-LCHlch(25.51, 59.90, 320.70°)
OKLaboklab(37.85% 0.1163 -0.1068)
OKLCHoklch(37.85% 0.158 317.4)
XYZxyz(8.6929, 4.5822, 17.8757)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621877 #2D7718
analogous
#321877 #621877 #77185C
triadic
#621877 #776218 #187762
tetradic
#621877 #773218 #2D7718 #185C77
square
#621877 #773218 #2D7718 #185C77
split-complementary
#621877 #5C7718 #187732
monochromatic
#150519 #380E44 #621877 #8C22AA #B233D6

Accessibility & contrast

On white

10.96
#621877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#621877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621877
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621877#FFFFFF#000000##FFFFFF
##6218771.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387A
Deuteranopia (green-blind)
#1B3F75
Tritanopia (blue-blind)
#612D47
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #621877;
/* rgb */ color: rgb(98, 24, 119);
/* oklch */ color: oklch(37.8% 0.158 317.4);
Tailwind
colors: {
  custom: {
    50: '#925e9f',
    500: '#621877',
    950: '#000000',
  },
}
SCSS
$custom: #621877;
$custom-light: #925e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#621877",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 286.737,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37849,
    "c": 0.15789,
    "h": 317.4
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#621877
secondary
#57AC3F
accent
#E93E64
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #621877

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

Preview Lab → · Contrast checker → · Palette generator →

#621877 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva