#622181#622181

#622181 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.157 H 312.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#622181
RGBrgb(98, 33, 129)
HSLhsl(281, 59%, 32%)
HSVhsv(281, 74%, 51%)
CMYKcmyk(24%, 74.4%, 0%, 49.4%)
CIE-LABlab(27.49, 44.93, -41.08)
CIE-LCHlch(27.49, 60.88, 317.56°)
OKLaboklab(39.48% 0.1058 -0.1161)
OKLCHoklch(39.48% 0.157 312.4)
XYZxyz(9.5426, 5.2696, 21.2791)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622181 #408121
analogous
#322181 #622181 #812170
triadic
#622181 #816221 #218162
tetradic
#622181 #813221 #408121 #217081
square
#622181 #813221 #408121 #217081
split-complementary
#622181 #708121 #218132
monochromatic
#180820 #3D1550 #622181 #872DB2 #A64BD1

Accessibility & contrast

On white

10.22
#622181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#622181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622181
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622181#FFFFFF#000000##FFFFFF
##6221811.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#16427F
Tritanopia (blue-blind)
#5E364F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #622181;
/* rgb */ color: rgb(98, 33, 129);
/* oklch */ color: oklch(39.5% 0.157 312.4);
Tailwind
colors: {
  custom: {
    50: '#9263a6',
    500: '#622181',
    950: '#000000',
  },
}
SCSS
$custom: #622181;
$custom-light: #9263a6;
$custom-dark: #000000;
JSON
{
  "hex": "#622181",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 280.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39483,
    "c": 0.15709,
    "h": 312.4
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#622181
secondary
#6CB44A
accent
#E24578
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #622181

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

Preview Lab → · Contrast checker → · Palette generator →

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