#621778#621778

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

Color values

HEX#621778
RGBrgb(98, 23, 120)
HSLhsl(286, 68%, 28%)
HSVhsv(286, 81%, 47%)
CMYKcmyk(18.3%, 80.8%, 0%, 52.9%)
CIE-LABlab(25.46, 46.91, -38.66)
CIE-LCHlch(25.46, 60.79, 320.51°)
OKLaboklab(37.84% 0.117 -0.1089)
OKLCHoklch(37.84% 0.16 317.1)
XYZxyz(8.7331, 4.5659, 18.1870)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621778 #2D7817
analogous
#321778 #621778 #78175D
triadic
#621778 #786217 #177862
tetradic
#621778 #783217 #2D7817 #175D78
square
#621778 #783217 #2D7817 #175D78
split-complementary
#621778 #5D7817 #177832
monochromatic
#15051A #380D45 #621778 #8C21AB #B232D8

Accessibility & contrast

On white

10.98
#621778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#621778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621778
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621778#FFFFFF#000000##FFFFFF
##6217781.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#183E76
Tritanopia (blue-blind)
#612D47
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #621778;
/* rgb */ color: rgb(98, 23, 120);
/* oklch */ color: oklch(37.8% 0.160 317.1);
Tailwind
colors: {
  custom: {
    50: '#925ea0',
    500: '#621778',
    950: '#000000',
  },
}
SCSS
$custom: #621778;
$custom-light: #925ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#621778",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 286.392,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37838,
    "c": 0.15986,
    "h": 317.1
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#621778
secondary
#57AD3E
accent
#EB3D64
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #621778

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

Preview Lab → · Contrast checker → · Palette generator →

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