#622158#622158

#622158 is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.8% C 0.118 H 334.2°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#622158
RGBrgb(98, 33, 88)
HSLhsl(309, 50%, 26%)
HSVhsv(309, 66%, 38%)
CMYKcmyk(0%, 66.3%, 10.2%, 61.6%)
CIE-LABlab(24.92, 36.57, -18.75)
CIE-LCHlch(24.92, 41.09, 332.86°)
OKLaboklab(36.81% 0.1059 -0.0511)
OKLCHoklch(36.81% 0.118 334.2)
XYZxyz(7.3424, 4.3895, 9.6912)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622158 #21622B
analogous
#4B2162 #622158 #622137
triadic
#622158 #586221 #215862
tetradic
#622158 #624B21 #21622B #213762
square
#622158 #624B21 #21622B #213762
split-complementary
#622158 #376221 #21624B
monochromatic
#170815 #34122F #622158 #903081 #BE40AA

Accessibility & contrast

On white

11.18
#622158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #622158
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622158#FFFFFF#000000##FFFFFF
##6221581.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20355A
Deuteranopia (green-blind)
#353F56
Tritanopia (blue-blind)
#672639
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #622158;
/* rgb */ color: rgb(98, 33, 88);
/* oklch */ color: oklch(36.8% 0.118 334.2);
Tailwind
colors: {
  custom: {
    50: '#916187',
    500: '#622158',
    950: '#000000',
  },
}
SCSS
$custom: #622158;
$custom-light: #916187;
$custom-dark: #000000;
JSON
{
  "hex": "#622158",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 309.231,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36807,
    "c": 0.11759,
    "h": 334.2
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#622158
secondary
#499655
accent
#D9644F
background
#F9F5F8
surface
#F1EAEF
border
#CBC6CA
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #622158

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

Preview Lab → · Contrast checker → · Palette generator →

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