#621271#621271

#621271 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.9% C 0.159 H 320.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#621271
RGBrgb(98, 18, 113)
HSLhsl(291, 73%, 26%)
HSVhsv(291, 84%, 44%)
CMYKcmyk(13.3%, 84.1%, 0%, 55.7%)
CIE-LABlab(24.39, 47.13, -35.90)
CIE-LCHlch(24.39, 59.25, 322.70°)
OKLaboklab(36.92% 0.1224 -0.1008)
OKLCHoklch(36.92% 0.159 320.5)
XYZxyz(8.2336, 4.2220, 16.0008)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621271 #217112
analogous
#321271 #621271 #711250
triadic
#621271 #716212 #127162
tetradic
#621271 #713212 #217112 #125071
square
#621271 #713212 #217112 #125071
split-complementary
#621271 #507112 #127132
monochromatic
#17041A #340A3C #621271 #901AA6 #BE23DB

Accessibility & contrast

On white

11.39
#621271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#621271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621271
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621271#FFFFFF#000000##FFFFFF
##6212711.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#1D3D6F
Tritanopia (blue-blind)
#622742
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #621271;
/* rgb */ color: rgb(98, 18, 113);
/* oklch */ color: oklch(36.9% 0.159 320.5);
Tailwind
colors: {
  custom: {
    50: '#925c9a',
    500: '#621271',
    950: '#000000',
  },
}
SCSS
$custom: #621271;
$custom-light: #925c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#621271",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 290.526,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36923,
    "c": 0.15851,
    "h": 320.5
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#621271
secondary
#49A837
accent
#EF3955
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #621271

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

Preview Lab → · Contrast checker → · Palette generator →

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