#621C8A#621C8A

#621C8A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.172 H 309.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#621C8A
RGBrgb(98, 28, 138)
HSLhsl(278, 66%, 33%)
HSVhsv(278, 80%, 54%)
CMYKcmyk(29%, 79.7%, 0%, 45.9%)
CIE-LABlab(27.47, 48.98, -46.74)
CIE-LCHlch(27.47, 67.70, 316.34°)
OKLaboklab(39.69% 0.109 -0.1327)
OKLCHoklch(39.69% 0.172 309.4)
XYZxyz(10.0388, 5.2624, 24.5267)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621C8A #448A1C
analogous
#2B1C8A #621C8A #8A1C7B
triadic
#621C8A #8A621C #1C8A62
tetradic
#621C8A #8A2B1C #448A1C #1C7B8A
square
#621C8A #8A2B1C #448A1C #1C7B8A
split-complementary
#621C8A #7B8A1C #1C8A2B
monochromatic
#1A0724 #3E1257 #621C8A #8626BD #A447DA

Accessibility & contrast

On white

10.23
#621C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#621C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621C8A
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621C8A#FFFFFF#000000##FFFFFF
##621C8A1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#5C3753
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #621c8a;
/* rgb */ color: rgb(98, 28, 138);
/* oklch */ color: oklch(39.7% 0.172 309.4);
Tailwind
colors: {
  custom: {
    50: '#9361ad',
    500: '#621c8a',
    950: '#000000',
  },
}
SCSS
$custom: #621c8a;
$custom-light: #9361ad;
$custom-dark: #000000;
JSON
{
  "hex": "#621c8a",
  "rgb": {
    "r": 98,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 278.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.17173,
    "h": 309.4
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#621C8A
secondary
#71BB46
accent
#E93F7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #621C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#621C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva