#621978#621978

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

Color values

HEX#621978
RGBrgb(98, 25, 120)
HSLhsl(286, 66%, 28%)
HSVhsv(286, 79%, 47%)
CMYKcmyk(18.3%, 79.2%, 0%, 52.9%)
CIE-LABlab(25.71, 46.20, -38.26)
CIE-LCHlch(25.71, 59.98, 320.37°)
OKLaboklab(38.01% 0.1152 -0.1077)
OKLCHoklch(38.01% 0.158 316.9)
XYZxyz(8.7743, 4.6484, 18.2007)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621978 #2F7819
analogous
#321978 #621978 #78195E
triadic
#621978 #786219 #197862
tetradic
#621978 #783219 #2F7819 #195E78
square
#621978 #783219 #2F7819 #195E78
split-complementary
#621978 #5E7819 #197832
monochromatic
#150519 #390E45 #621978 #8B24AB #B036D5

Accessibility & contrast

On white

10.88
#621978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621978
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621978#FFFFFF#000000##FFFFFF
##6219781.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#1A3F76
Tritanopia (blue-blind)
#612E48
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #621978;
/* rgb */ color: rgb(98, 25, 120);
/* oklch */ color: oklch(38.0% 0.158 316.9);
Tailwind
colors: {
  custom: {
    50: '#925f9f',
    500: '#621978',
    950: '#000000',
  },
}
SCSS
$custom: #621978;
$custom-light: #925f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#621978",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 286.105,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.15773,
    "h": 316.9
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#621978
secondary
#59AD40
accent
#E83F66
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #621978

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

Preview Lab → · Contrast checker → · Palette generator →

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