#62256A#62256A

#62256A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.4% C 0.128 H 322.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#62256A
RGBrgb(98, 37, 106)
HSLhsl(293, 48%, 28%)
HSVhsv(293, 65%, 42%)
CMYKcmyk(7.5%, 65.1%, 0%, 58.4%)
CIE-LABlab(26.62, 38.11, -27.82)
CIE-LCHlch(26.62, 47.18, 323.86°)
OKLaboklab(38.37% 0.1022 -0.0773)
OKLCHoklch(38.37% 0.128 322.9)
XYZxyz(8.2998, 4.9609, 14.1532)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62256A #2D6A25
analogous
#3F256A #62256A #6A254F
triadic
#62256A #6A6225 #256A62
tetradic
#62256A #6A3F25 #2D6A25 #254F6A
square
#62256A #6A3F25 #2D6A25 #254F6A
split-complementary
#62256A #4F6A25 #256A3F
monochromatic
#150817 #38153D #62256A #8C3597 #B24AC0

Accessibility & contrast

On white

10.54
#62256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#62256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62256A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62256A#FFFFFF#000000##FFFFFF
##62256A1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#2F4168
Tritanopia (blue-blind)
#642F44
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #62256a;
/* rgb */ color: rgb(98, 37, 106);
/* oklch */ color: oklch(38.4% 0.128 322.9);
Tailwind
colors: {
  custom: {
    50: '#916495',
    500: '#62256a',
    950: '#000000',
  },
}
SCSS
$custom: #62256a;
$custom-light: #916495;
$custom-dark: #000000;
JSON
{
  "hex": "#62256a",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 293.043,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38372,
    "c": 0.12816,
    "h": 322.9
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#62256A
secondary
#579D4E
accent
#D85060
background
#F9F6F9
surface
#F1EBF1
border
#CBC6CB
text
#0D060D
muted
#7E7A7E

Preview Lab

Preview with #62256A

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

Preview Lab → · Contrast checker → · Palette generator →

#62256A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva