#621256#621256

#621256 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.136 H 335.1°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#621256
RGBrgb(98, 18, 86)
HSLhsl(309, 69%, 23%)
HSVhsv(309, 82%, 38%)
CMYKcmyk(0%, 81.6%, 12.2%, 61.6%)
CIE-LABlab(22.66, 42.28, -20.95)
CIE-LCHlch(22.66, 47.18, 333.64°)
OKLaboklab(35.14% 0.1235 -0.0573)
OKLCHoklch(35.14% 0.136 335.1)
XYZxyz(6.9331, 3.7018, 9.1517)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621256 #12621E
analogous
#461262 #621256 #62122E
triadic
#621256 #566212 #125662
tetradic
#621256 #624612 #12621E #122E62
square
#621256 #624612 #12621E #122E62
split-complementary
#621256 #2E6212 #126246
monochromatic
#1A0517 #2E0929 #621256 #961B83 #C925B1

Accessibility & contrast

On white

12.07
#621256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621256
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621256#FFFFFF#000000##FFFFFF
##6212561.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F58
Deuteranopia (green-blind)
#2F3A54
Tritanopia (blue-blind)
#671933
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #621256;
/* rgb */ color: rgb(98, 18, 86);
/* oklch */ color: oklch(35.1% 0.136 335.1);
Tailwind
colors: {
  custom: {
    50: '#925a86',
    500: '#621256',
    950: '#000000',
  },
}
SCSS
$custom: #621256;
$custom-light: #925a86;
$custom-dark: #000000;
JSON
{
  "hex": "#621256",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 309,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35135,
    "c": 0.13614,
    "h": 335.1
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#621256
secondary
#369A45
accent
#EC563C
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #621256

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

Preview Lab → · Contrast checker → · Palette generator →

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