#621171#621171

#621171 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.9% C 0.159 H 320.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#621171
RGBrgb(98, 17, 113)
HSLhsl(291, 74%, 25%)
HSVhsv(291, 85%, 44%)
CMYKcmyk(13.3%, 85%, 0%, 55.7%)
CIE-LABlab(24.29, 47.42, -36.06)
CIE-LCHlch(24.29, 59.58, 322.75°)
OKLaboklab(36.85% 0.1231 -0.1012)
OKLCHoklch(36.85% 0.159 320.6)
XYZxyz(8.2177, 4.1903, 15.9955)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621171 #207111
analogous
#321171 #621171 #711150
triadic
#621171 #716211 #117162
tetradic
#621171 #713211 #207111 #115071
square
#621171 #713211 #207111 #115071
split-complementary
#621171 #507111 #117132
monochromatic
#17041B #34093C #621171 #9019A6 #BE21DB

Accessibility & contrast

On white

11.43
#621171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#621171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621171
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621171#FFFFFF#000000##FFFFFF
##6211711.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#1D3C6F
Tritanopia (blue-blind)
#622742
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #621171;
/* rgb */ color: rgb(98, 17, 113);
/* oklch */ color: oklch(36.9% 0.159 320.6);
Tailwind
colors: {
  custom: {
    50: '#925b9a',
    500: '#621171',
    950: '#000000',
  },
}
SCSS
$custom: #621171;
$custom-light: #925b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#621171",
  "rgb": {
    "r": 98,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 290.625,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36852,
    "c": 0.15941,
    "h": 320.6
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#621171
secondary
#47A836
accent
#F13754
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #621171

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

Preview Lab → · Contrast checker → · Palette generator →

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