#621273#621273

#621273 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.160 H 319.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#621273
RGBrgb(98, 18, 115)
HSLhsl(289, 73%, 26%)
HSVhsv(289, 84%, 45%)
CMYKcmyk(14.8%, 84.3%, 0%, 54.9%)
CIE-LABlab(24.54, 47.52, -36.95)
CIE-LCHlch(24.54, 60.20, 322.13°)
OKLaboklab(37.07% 0.122 -0.1039)
OKLCHoklch(37.07% 0.16 319.6)
XYZxyz(8.3474, 4.2675, 16.6004)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621273 #237312
analogous
#321273 #621273 #731253
triadic
#621273 #736212 #127362
tetradic
#621273 #733212 #237312 #125373
square
#621273 #733212 #237312 #125373
split-complementary
#621273 #537312 #127332
monochromatic
#17041A #350A3E #621273 #8F1AA8 #BC23DD

Accessibility & contrast

On white

11.33
#621273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#621273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621273
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621273#FFFFFF#000000##FFFFFF
##6212731.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#1B3D71
Tritanopia (blue-blind)
#622843
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #621273;
/* rgb */ color: rgb(98, 18, 115);
/* oklch */ color: oklch(37.1% 0.160 319.6);
Tailwind
colors: {
  custom: {
    50: '#925c9c',
    500: '#621273',
    950: '#000000',
  },
}
SCSS
$custom: #621273;
$custom-light: #925c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#621273",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 289.485,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37071,
    "c": 0.16025,
    "h": 319.6
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#621273
secondary
#4BAA37
accent
#F03858
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #621273

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

Preview Lab → · Contrast checker → · Palette generator →

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