#622871#622871

#622871 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.2% C 0.131 H 318.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#622871
RGBrgb(98, 40, 113)
HSLhsl(288, 48%, 30%)
HSVhsv(288, 65%, 44%)
CMYKcmyk(13.3%, 64.6%, 0%, 55.7%)
CIE-LABlab(27.59, 38.09, -30.78)
CIE-LCHlch(27.59, 48.98, 321.06°)
OKLaboklab(39.21% 0.0984 -0.086)
OKLCHoklch(39.21% 0.131 318.9)
XYZxyz(8.7760, 5.3069, 16.1816)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622871 #377128
analogous
#3D2871 #622871 #71285C
triadic
#622871 #716228 #287162
tetradic
#622871 #713D28 #377128 #285C71
square
#622871 #713D28 #377128 #285C71
split-complementary
#622871 #5C7128 #28713D
monochromatic
#140817 #3B1844 #622871 #89389E #AB52C2

Accessibility & contrast

On white

10.19
#622871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#622871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622871
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622871#FFFFFF#000000##FFFFFF
##6228711.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D73
Deuteranopia (green-blind)
#2C436F
Tritanopia (blue-blind)
#623448
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #622871;
/* rgb */ color: rgb(98, 40, 113);
/* oklch */ color: oklch(39.2% 0.131 318.9);
Tailwind
colors: {
  custom: {
    50: '#91669a',
    500: '#622871',
    950: '#000000',
  },
}
SCSS
$custom: #622871;
$custom-light: #91669a;
$custom-dark: #000000;
JSON
{
  "hex": "#622871",
  "rgb": {
    "r": 98,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 287.671,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.39212,
    "c": 0.13066,
    "h": 318.9
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#622871
secondary
#62A352
accent
#D7506C
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #622871

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

Preview Lab → · Contrast checker → · Palette generator →

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