#621871#621871

#621871 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.4% C 0.152 H 320.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#621871
RGBrgb(98, 24, 113)
HSLhsl(290, 65%, 27%)
HSVhsv(290, 79%, 44%)
CMYKcmyk(13.3%, 78.8%, 0%, 55.7%)
CIE-LABlab(25.08, 45.13, -34.79)
CIE-LCHlch(25.08, 56.98, 322.38°)
OKLaboklab(37.41% 0.1171 -0.0975)
OKLCHoklch(37.41% 0.152 320.2)
XYZxyz(8.3439, 4.4426, 16.0376)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621871 #277118
analogous
#361871 #621871 #711854
triadic
#621871 #716218 #187162
tetradic
#621871 #713618 #277118 #185471
square
#621871 #713618 #277118 #185471
split-complementary
#621871 #547118 #187136
monochromatic
#160519 #360D3F #621871 #8E23A3 #B830D3

Accessibility & contrast

On white

11.12
#621871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#621871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621871
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621871#FFFFFF#000000##FFFFFF
##6218711.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#213E6F
Tritanopia (blue-blind)
#622A44
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #621871;
/* rgb */ color: rgb(98, 24, 113);
/* oklch */ color: oklch(37.4% 0.152 320.2);
Tailwind
colors: {
  custom: {
    50: '#925e9a',
    500: '#621871',
    950: '#000000',
  },
}
SCSS
$custom: #621871;
$custom-light: #925e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#621871",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 289.888,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.15238,
    "h": 320.2
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#621871
secondary
#50A63E
accent
#E8405C
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #621871

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

Preview Lab → · Contrast checker → · Palette generator →

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