#621879#621879

#621879 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.160 H 316.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#621879
RGBrgb(98, 24, 121)
HSLhsl(286, 67%, 28%)
HSVhsv(286, 80%, 47%)
CMYKcmyk(19%, 80.2%, 0%, 52.5%)
CIE-LABlab(25.66, 46.77, -38.98)
CIE-LCHlch(25.66, 60.88, 320.19°)
OKLaboklab(38% 0.116 -0.1098)
OKLCHoklch(38% 0.16 316.6)
XYZxyz(8.8143, 4.6308, 18.5150)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621879 #2F7918
analogous
#311879 #621879 #79185F
triadic
#621879 #796218 #187962
tetradic
#621879 #793118 #2F7918 #185F79
square
#621879 #793118 #2F7918 #185F79
split-complementary
#621879 #5F7918 #187931
monochromatic
#15051A #390E46 #621879 #8B22AC #B035D7

Accessibility & contrast

On white

10.90
#621879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#621879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621879
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621879#FFFFFF#000000##FFFFFF
##6218791.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#183F77
Tritanopia (blue-blind)
#612E48
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #621879;
/* rgb */ color: rgb(98, 24, 121);
/* oklch */ color: oklch(38.0% 0.160 316.6);
Tailwind
colors: {
  custom: {
    50: '#925ea0',
    500: '#621879',
    950: '#000000',
  },
}
SCSS
$custom: #621879;
$custom-light: #925ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#621879",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 285.773,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37999,
    "c": 0.15974,
    "h": 316.6
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#621879
secondary
#59AE3F
accent
#EA3E67
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #621879

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

Preview Lab → · Contrast checker → · Palette generator →

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