#621257#621257

#621257 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.137 H 334.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#621257
RGBrgb(98, 18, 87)
HSLhsl(308, 69%, 23%)
HSVhsv(308, 82%, 38%)
CMYKcmyk(0%, 81.6%, 11.2%, 61.6%)
CIE-LABlab(22.72, 42.44, -21.53)
CIE-LCHlch(22.72, 47.59, 333.10°)
OKLaboklab(35.19% 0.1236 -0.059)
OKLCHoklch(35.19% 0.137 334.5)
XYZxyz(6.9737, 3.7180, 9.3653)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621257 #12621D
analogous
#451262 #621257 #62122F
triadic
#621257 #576212 #125762
tetradic
#621257 #624512 #12621D #122F62
square
#621257 #624512 #12621D #122F62
split-complementary
#621257 #2F6212 #126245
monochromatic
#1A0517 #2E0929 #621257 #961B85 #C925B3

Accessibility & contrast

On white

12.05
#621257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#621257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621257
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621257#FFFFFF#000000##FFFFFF
##6212571.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F59
Deuteranopia (green-blind)
#2F3A55
Tritanopia (blue-blind)
#671A34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #621257;
/* rgb */ color: rgb(98, 18, 87);
/* oklch */ color: oklch(35.2% 0.137 334.5);
Tailwind
colors: {
  custom: {
    50: '#925a86',
    500: '#621257',
    950: '#000000',
  },
}
SCSS
$custom: #621257;
$custom-light: #925a86;
$custom-dark: #000000;
JSON
{
  "hex": "#621257",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 308.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35194,
    "c": 0.13691,
    "h": 334.5
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#621257
secondary
#369A44
accent
#EC543C
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #621257

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

Preview Lab → · Contrast checker → · Palette generator →

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