#621858#621858

#621858 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.8% C 0.131 H 334.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#621858
RGBrgb(98, 24, 88)
HSLhsl(308, 61%, 24%)
HSVhsv(308, 76%, 38%)
CMYKcmyk(0%, 75.5%, 10.2%, 61.6%)
CIE-LABlab(23.52, 40.47, -20.93)
CIE-LCHlch(23.52, 45.56, 332.65°)
OKLaboklab(35.79% 0.1173 -0.0573)
OKLCHoklch(35.79% 0.131 334)
XYZxyz(7.1251, 3.9551, 9.6188)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621858 #186222
analogous
#471862 #621858 #621833
triadic
#621858 #586218 #185862
tetradic
#621858 #624718 #186222 #183362
square
#621858 #624718 #186222 #183362
split-complementary
#621858 #336218 #186247
monochromatic
#190616 #310C2C #621858 #932484 #C430B0

Accessibility & contrast

On white

11.73
#621858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#621858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621858
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621858#FFFFFF#000000##FFFFFF
##6218581.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16315A
Deuteranopia (green-blind)
#313C56
Tritanopia (blue-blind)
#671E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #621858;
/* rgb */ color: rgb(98, 24, 88);
/* oklch */ color: oklch(35.8% 0.131 334.0);
Tailwind
colors: {
  custom: {
    50: '#915d87',
    500: '#621858',
    950: '#000000',
  },
}
SCSS
$custom: #621858;
$custom-light: #915d87;
$custom-dark: #000000;
JSON
{
  "hex": "#621858",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 308.108,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35792,
    "c": 0.13058,
    "h": 334
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#621858
secondary
#3E984A
accent
#E45A44
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #621858

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

Preview Lab → · Contrast checker → · Palette generator →

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