#622381#622381

#622381 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.155 H 312.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#622381
RGBrgb(98, 35, 129)
HSLhsl(280, 57%, 32%)
HSVhsv(280, 73%, 51%)
CMYKcmyk(24%, 72.9%, 0%, 49.4%)
CIE-LABlab(27.80, 44.05, -40.58)
CIE-LCHlch(27.80, 59.89, 317.35°)
OKLaboklab(39.71% 0.1037 -0.1146)
OKLCHoklch(39.71% 0.155 312.1)
XYZxyz(9.5998, 5.3840, 21.2981)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622381 #428123
analogous
#332381 #622381 #812371
triadic
#622381 #816223 #238162
tetradic
#622381 #813323 #428123 #237181
square
#622381 #813323 #428123 #237181
split-complementary
#622381 #718123 #238133
monochromatic
#190921 #3D1651 #622381 #8730B1 #A54FCF

Accessibility & contrast

On white

10.11
#622381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#622381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622381
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622381#FFFFFF#000000##FFFFFF
##6223811.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#18437F
Tritanopia (blue-blind)
#5E374F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #622381;
/* rgb */ color: rgb(98, 35, 129);
/* oklch */ color: oklch(39.7% 0.155 312.1);
Tailwind
colors: {
  custom: {
    50: '#9264a6',
    500: '#622381',
    950: '#000000',
  },
}
SCSS
$custom: #622381;
$custom-light: #9264a6;
$custom-dark: #000000;
JSON
{
  "hex": "#622381",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 280.213,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39706,
    "c": 0.15454,
    "h": 312.1
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#622381
secondary
#6FB34D
accent
#E1477A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #622381

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

Preview Lab → · Contrast checker → · Palette generator →

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