#622281#622281

#622281 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.156 H 312.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#622281
RGBrgb(98, 34, 129)
HSLhsl(280, 58%, 32%)
HSVhsv(280, 74%, 51%)
CMYKcmyk(24%, 73.6%, 0%, 49.4%)
CIE-LABlab(27.64, 44.50, -40.83)
CIE-LCHlch(27.64, 60.39, 317.46°)
OKLaboklab(39.59% 0.1048 -0.1153)
OKLCHoklch(39.59% 0.156 312.2)
XYZxyz(9.5708, 5.3260, 21.2885)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622281 #418122
analogous
#332281 #622281 #812271
triadic
#622281 #816222 #228162
tetradic
#622281 #813322 #418122 #227181
square
#622281 #813322 #418122 #227181
split-complementary
#622281 #718122 #228133
monochromatic
#180820 #3D1551 #622281 #872FB1 #A54DD0

Accessibility & contrast

On white

10.17
#622281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#622281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622281
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622281#FFFFFF#000000##FFFFFF
##6222811.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #622281;
/* rgb */ color: rgb(98, 34, 129);
/* oklch */ color: oklch(39.6% 0.156 312.2);
Tailwind
colors: {
  custom: {
    50: '#9263a6',
    500: '#622281',
    950: '#000000',
  },
}
SCSS
$custom: #622281;
$custom-light: #9263a6;
$custom-dark: #000000;
JSON
{
  "hex": "#622281",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 280.421,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39593,
    "c": 0.15583,
    "h": 312.2
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#622281
secondary
#6DB34B
accent
#E14679
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #622281

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

Preview Lab → · Contrast checker → · Palette generator →

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