#621878#621878

#621878 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.159 H 317.0°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#621878
RGBrgb(98, 24, 120)
HSLhsl(286, 67%, 28%)
HSVhsv(286, 80%, 47%)
CMYKcmyk(18.3%, 80%, 0%, 52.9%)
CIE-LABlab(25.58, 46.56, -38.46)
CIE-LCHlch(25.58, 60.39, 320.44°)
OKLaboklab(37.92% 0.1161 -0.1083)
OKLCHoklch(37.92% 0.159 317)
XYZxyz(8.7533, 4.6064, 18.1937)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621878 #2E7818
analogous
#321878 #621878 #78185E
triadic
#621878 #786218 #187862
tetradic
#621878 #783218 #2E7818 #185E78
square
#621878 #783218 #2E7818 #185E78
split-complementary
#621878 #5E7818 #187832
monochromatic
#15051A #380E45 #621878 #8C22AB #B134D6

Accessibility & contrast

On white

10.93
#621878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#621878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621878
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621878#FFFFFF#000000##FFFFFF
##6218781.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#193F76
Tritanopia (blue-blind)
#612D48
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #621878;
/* rgb */ color: rgb(98, 24, 120);
/* oklch */ color: oklch(37.9% 0.159 317.0);
Tailwind
colors: {
  custom: {
    50: '#925ea0',
    500: '#621878',
    950: '#000000',
  },
}
SCSS
$custom: #621878;
$custom-light: #925ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#621878",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 286.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.15881,
    "h": 317
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#621878
secondary
#58AD3F
accent
#EA3E65
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #621878

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

Preview Lab → · Contrast checker → · Palette generator →

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