#621158#621158

#621158 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.139 H 333.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#621158
RGBrgb(98, 17, 88)
HSLhsl(307, 70%, 23%)
HSVhsv(307, 83%, 38%)
CMYKcmyk(0%, 82.7%, 10.2%, 61.6%)
CIE-LABlab(22.66, 42.92, -22.28)
CIE-LCHlch(22.66, 48.36, 332.56°)
OKLaboklab(35.17% 0.1246 -0.0611)
OKLCHoklch(35.17% 0.139 333.9)
XYZxyz(6.9990, 3.7028, 9.5767)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621158 #11621B
analogous
#431162 #621158 #621130
triadic
#621158 #586211 #115862
tetradic
#621158 #624311 #11621B #113062
square
#621158 #624311 #11621B #113062
split-complementary
#621158 #306211 #116243
monochromatic
#1A0517 #2E0829 #621158 #961A87 #CA23B6

Accessibility & contrast

On white

12.07
#621158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#621158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621158
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621158#FFFFFF#000000##FFFFFF
##6211581.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2F5A
Deuteranopia (green-blind)
#2E3A56
Tritanopia (blue-blind)
#671A34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #621158;
/* rgb */ color: rgb(98, 17, 88);
/* oklch */ color: oklch(35.2% 0.139 333.9);
Tailwind
colors: {
  custom: {
    50: '#925a87',
    500: '#621158',
    950: '#000000',
  },
}
SCSS
$custom: #621158;
$custom-light: #925a87;
$custom-dark: #000000;
JSON
{
  "hex": "#621158",
  "rgb": {
    "r": 98,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 307.407,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35175,
    "c": 0.13874,
    "h": 333.9
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#621158
secondary
#349A41
accent
#ED513B
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #621158

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

Preview Lab → · Contrast checker → · Palette generator →

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