#621771#621771

#621771 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.153 H 320.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#621771
RGBrgb(98, 23, 113)
HSLhsl(290, 66%, 27%)
HSVhsv(290, 80%, 44%)
CMYKcmyk(13.3%, 79.6%, 0%, 55.7%)
CIE-LABlab(24.96, 45.49, -34.99)
CIE-LCHlch(24.96, 57.39, 322.44°)
OKLaboklab(37.32% 0.118 -0.0981)
OKLCHoklch(37.32% 0.153 320.3)
XYZxyz(8.3237, 4.4022, 16.0308)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621771 #267117
analogous
#351771 #621771 #711753
triadic
#621771 #716217 #177162
tetradic
#621771 #713517 #267117 #175371
square
#621771 #713517 #267117 #175371
split-complementary
#621771 #537117 #177135
monochromatic
#160519 #360D3E #621771 #8E21A4 #B92ED4

Accessibility & contrast

On white

11.17
#621771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#621771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621771
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621771#FFFFFF#000000##FFFFFF
##6217711.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#203E6F
Tritanopia (blue-blind)
#622A43
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #621771;
/* rgb */ color: rgb(98, 23, 113);
/* oklch */ color: oklch(37.3% 0.153 320.3);
Tailwind
colors: {
  custom: {
    50: '#925e9a',
    500: '#621771',
    950: '#000000',
  },
}
SCSS
$custom: #621771;
$custom-light: #925e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#621771",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 290,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37323,
    "c": 0.15349,
    "h": 320.3
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#621771
secondary
#4FA73D
accent
#E93F5B
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #621771

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

Preview Lab → · Contrast checker → · Palette generator →

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