#621786#621786

#621786 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.9% C 0.173 H 311.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#621786
RGBrgb(98, 23, 134)
HSLhsl(281, 71%, 31%)
HSVhsv(281, 83%, 53%)
CMYKcmyk(26.9%, 82.8%, 0%, 47.5%)
CIE-LABlab(26.54, 49.87, -45.76)
CIE-LCHlch(26.54, 67.68, 317.46°)
OKLaboklab(38.93% 0.1142 -0.1297)
OKLCHoklch(38.93% 0.173 311.3)
XYZxyz(9.6457, 4.9309, 22.9933)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621786 #3B8617
analogous
#2B1786 #621786 #861772
triadic
#621786 #866217 #178662
tetradic
#621786 #862B17 #3B8617 #177286
square
#621786 #862B17 #3B8617 #177286
split-complementary
#621786 #728617 #17862B
monochromatic
#16051E #3C0E52 #621786 #8820BA #A83ADD

Accessibility & contrast

On white

10.57
#621786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#621786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621786
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621786#FFFFFF#000000##FFFFFF
##6217861.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#5D334F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #621786;
/* rgb */ color: rgb(98, 23, 134);
/* oklch */ color: oklch(38.9% 0.173 311.3);
Tailwind
colors: {
  custom: {
    50: '#935faa',
    500: '#621786',
    950: '#000000',
  },
}
SCSS
$custom: #621786;
$custom-light: #935faa;
$custom-dark: #000000;
JSON
{
  "hex": "#621786",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 280.541,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38933,
    "c": 0.17282,
    "h": 311.3
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#621786
secondary
#67BA3F
accent
#ED3A74
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #621786

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

Preview Lab → · Contrast checker → · Palette generator →

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