#62255B#62255B

#62255B is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.5% C 0.114 H 332.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#62255B
RGBrgb(98, 37, 91)
HSLhsl(307, 45%, 26%)
HSVhsv(307, 62%, 38%)
CMYKcmyk(0%, 62.2%, 7.1%, 61.6%)
CIE-LABlab(25.79, 35.15, -19.37)
CIE-LCHlch(25.79, 40.14, 331.15°)
OKLaboklab(37.49% 0.1007 -0.0529)
OKLCHoklch(37.49% 0.114 332.3)
XYZxyz(7.5869, 4.6757, 10.3984)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62255B #25622C
analogous
#4B2562 #62255B #62253D
triadic
#62255B #5B6225 #255B62
tetradic
#62255B #624B25 #25622C #253D62
square
#62255B #624B25 #25622C #253D62
split-complementary
#62255B #3D6225 #25624B
monochromatic
#160815 #361432 #62255B #8E3684 #BA48AD

Accessibility & contrast

On white

10.85
#62255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#62255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62255B
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62255B#FFFFFF#000000##FFFFFF
##62255B1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385D
Deuteranopia (green-blind)
#364059
Tritanopia (blue-blind)
#662A3C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62255b;
/* rgb */ color: rgb(98, 37, 91);
/* oklch */ color: oklch(37.5% 0.114 332.3);
Tailwind
colors: {
  custom: {
    50: '#916489',
    500: '#62255b',
    950: '#000000',
  },
}
SCSS
$custom: #62255b;
$custom-light: #916489;
$custom-dark: #000000;
JSON
{
  "hex": "#62255b",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 306.885,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.11372,
    "h": 332.3
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#62255B
secondary
#4E9556
accent
#D56253
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D050B
muted
#7E7A7C

Preview Lab

Preview with #62255B

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

Preview Lab → · Contrast checker → · Palette generator →

#62255B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva