#621B8A#621B8A

#621B8A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.173 H 309.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#621B8A
RGBrgb(98, 27, 138)
HSLhsl(278, 67%, 32%)
HSVhsv(278, 80%, 54%)
CMYKcmyk(29%, 80.4%, 0%, 45.9%)
CIE-LABlab(27.34, 49.35, -46.95)
CIE-LCHlch(27.34, 68.12, 316.43°)
OKLaboklab(39.6% 0.1099 -0.1333)
OKLCHoklch(39.6% 0.173 309.5)
XYZxyz(10.0155, 5.2157, 24.5190)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621B8A #438A1B
analogous
#2A1B8A #621B8A #8A1B7B
triadic
#621B8A #8A621B #1B8A62
tetradic
#621B8A #8A2A1B #438A1B #1B7B8A
square
#621B8A #8A2A1B #438A1B #1B7B8A
split-complementary
#621B8A #7B8A1B #1B8A2A
monochromatic
#190724 #3E1157 #621B8A #8625BD #A545DB

Accessibility & contrast

On white

10.28
#621B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#621B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621B8A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621B8A#FFFFFF#000000##FFFFFF
##621B8A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #621b8a;
/* rgb */ color: rgb(98, 27, 138);
/* oklch */ color: oklch(39.6% 0.173 309.5);
Tailwind
colors: {
  custom: {
    50: '#9361ad',
    500: '#621b8a',
    950: '#000000',
  },
}
SCSS
$custom: #621b8a;
$custom-light: #9361ad;
$custom-dark: #000000;
JSON
{
  "hex": "#621b8a",
  "rgb": {
    "r": 98,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 278.378,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39596,
    "c": 0.17275,
    "h": 309.5
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#621B8A
secondary
#70BC45
accent
#EA3E7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #621B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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