#62256C#62256C

#62256C is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.5% C 0.130 H 321.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#62256C
RGBrgb(98, 37, 108)
HSLhsl(292, 49%, 28%)
HSVhsv(292, 66%, 42%)
CMYKcmyk(9.3%, 65.7%, 0%, 57.6%)
CIE-LABlab(26.74, 38.52, -28.92)
CIE-LCHlch(26.74, 48.17, 323.10°)
OKLaboklab(38.5% 0.1023 -0.0805)
OKLCHoklch(38.5% 0.13 321.8)
XYZxyz(8.4051, 5.0029, 14.7074)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62256C #2F6C25
analogous
#3E256C #62256C #6C2552
triadic
#62256C #6C6225 #256C62
tetradic
#62256C #6C3E25 #2F6C25 #25526C
square
#62256C #6C3E25 #2F6C25 #25526C
split-complementary
#62256C #526C25 #256C3E
monochromatic
#150817 #39153E #62256C #8B359A #B04AC1

Accessibility & contrast

On white

10.50
#62256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#62256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62256C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62256C#FFFFFF#000000##FFFFFF
##62256C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6E
Deuteranopia (green-blind)
#2D426A
Tritanopia (blue-blind)
#633045
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #62256c;
/* rgb */ color: rgb(98, 37, 108);
/* oklch */ color: oklch(38.5% 0.130 321.8);
Tailwind
colors: {
  custom: {
    50: '#916496',
    500: '#62256c',
    950: '#000000',
  },
}
SCSS
$custom: #62256c;
$custom-light: #916496;
$custom-dark: #000000;
JSON
{
  "hex": "#62256c",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 291.549,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38498,
    "c": 0.13016,
    "h": 321.8
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#62256C
secondary
#599F4E
accent
#D94F63
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060D
muted
#7E7A7E

Preview Lab

Preview with #62256C

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

Preview Lab → · Contrast checker → · Palette generator →

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