#621678#621678

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

Color values

HEX#621678
RGBrgb(98, 22, 120)
HSLhsl(287, 69%, 28%)
HSVhsv(287, 82%, 47%)
CMYKcmyk(18.3%, 81.7%, 0%, 52.9%)
CIE-LABlab(25.34, 47.25, -38.85)
CIE-LCHlch(25.34, 61.18, 320.57°)
OKLaboklab(37.75% 0.1179 -0.1094)
OKLCHoklch(37.75% 0.161 317.1)
XYZxyz(8.7136, 4.5269, 18.1805)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621678 #2C7816
analogous
#311678 #621678 #78165D
triadic
#621678 #786216 #167862
tetradic
#621678 #783116 #2C7816 #165D78
square
#621678 #783116 #2C7816 #165D78
split-complementary
#621678 #5D7816 #167831
monochromatic
#15051A #380D44 #621678 #8C1FAC #B32FD9

Accessibility & contrast

On white

11.02
#621678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621678
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621678#FFFFFF#000000##FFFFFF
##6216781.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #621678;
/* rgb */ color: rgb(98, 22, 120);
/* oklch */ color: oklch(37.8% 0.161 317.1);
Tailwind
colors: {
  custom: {
    50: '#925ea0',
    500: '#621678',
    950: '#000000',
  },
}
SCSS
$custom: #621678;
$custom-light: #925ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#621678",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 286.531,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37754,
    "c": 0.16088,
    "h": 317.1
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#621678
secondary
#56AD3C
accent
#EC3C63
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #621678

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

Preview Lab → · Contrast checker → · Palette generator →

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