#62255F#62255F

#62255F is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.7% C 0.117 H 329.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#62255F
RGBrgb(98, 37, 95)
HSLhsl(303, 45%, 26%)
HSVhsv(303, 62%, 38%)
CMYKcmyk(0%, 62.2%, 3.1%, 61.6%)
CIE-LABlab(26.00, 35.91, -21.66)
CIE-LCHlch(26.00, 41.94, 328.90°)
OKLaboklab(37.72% 0.1012 -0.0595)
OKLCHoklch(37.72% 0.117 329.6)
XYZxyz(7.7641, 4.7465, 11.3315)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62255F #256228
analogous
#472562 #62255F #622541
triadic
#62255F #5F6225 #255F62
tetradic
#62255F #624725 #256228 #254162
square
#62255F #624725 #256228 #254162
split-complementary
#62255F #416225 #256247
monochromatic
#160816 #361434 #62255F #8E368A #BA48B4

Accessibility & contrast

On white

10.77
#62255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#62255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62255F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62255F#FFFFFF#000000##FFFFFF
##62255F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#34415D
Tritanopia (blue-blind)
#652B3E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #62255f;
/* rgb */ color: rgb(98, 37, 95);
/* oklch */ color: oklch(37.7% 0.117 329.6);
Tailwind
colors: {
  custom: {
    50: '#91648c',
    500: '#62255f',
    950: '#000000',
  },
}
SCSS
$custom: #62255f;
$custom-light: #91648c;
$custom-dark: #000000;
JSON
{
  "hex": "#62255f",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 302.951,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37716,
    "c": 0.11743,
    "h": 329.6
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#62255F
secondary
#4E9551
accent
#D55953
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D060C
muted
#7E7A7D

Preview Lab

Preview with #62255F

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

Preview Lab → · Contrast checker → · Palette generator →

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