#62256F#62256F

#62256F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.7% C 0.133 H 320.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#62256F
RGBrgb(98, 37, 111)
HSLhsl(289, 50%, 29%)
HSVhsv(289, 67%, 44%)
CMYKcmyk(11.7%, 66.7%, 0%, 56.5%)
CIE-LABlab(26.93, 39.15, -30.56)
CIE-LCHlch(26.93, 49.67, 322.03°)
OKLaboklab(38.69% 0.1023 -0.0853)
OKLCHoklch(38.69% 0.133 320.2)
XYZxyz(8.5675, 5.0679, 15.5628)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62256F #326F25
analogous
#3D256F #62256F #6F2557
triadic
#62256F #6F6225 #256F62
tetradic
#62256F #6F3D25 #326F25 #25576F
square
#62256F #6F3D25 #326F25 #25576F
split-complementary
#62256F #576F25 #256F3D
monochromatic
#140817 #391641 #62256F #8B349D #AE4BC3

Accessibility & contrast

On white

10.43
#62256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#62256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62256F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62256F#FFFFFF#000000##FFFFFF
##62256F1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B71
Deuteranopia (green-blind)
#2B426D
Tritanopia (blue-blind)
#633146
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #62256f;
/* rgb */ color: rgb(98, 37, 111);
/* oklch */ color: oklch(38.7% 0.133 320.2);
Tailwind
colors: {
  custom: {
    50: '#916499',
    500: '#62256f',
    950: '#000000',
  },
}
SCSS
$custom: #62256f;
$custom-light: #916499;
$custom-dark: #000000;
JSON
{
  "hex": "#62256f",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 289.459,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38691,
    "c": 0.13321,
    "h": 320.2
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#62256F
secondary
#5DA24E
accent
#DA4E67
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #62256F

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

Preview Lab → · Contrast checker → · Palette generator →

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