#62227E#62227E

#62227E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.153 H 313.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#62227E
RGBrgb(98, 34, 126)
HSLhsl(282, 58%, 31%)
HSVhsv(282, 73%, 49%)
CMYKcmyk(22.2%, 73%, 0%, 50.6%)
CIE-LABlab(27.43, 43.82, -39.29)
CIE-LCHlch(27.43, 58.86, 318.12°)
OKLaboklab(39.37% 0.1051 -0.1108)
OKLCHoklch(39.37% 0.153 313.5)
XYZxyz(9.3743, 5.2474, 20.2537)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62227E #3E7E22
analogous
#34227E #62227E #7E226C
triadic
#62227E #7E6222 #227E62
tetradic
#62227E #7E3422 #3E7E22 #226C7E
square
#62227E #7E3422 #3E7E22 #226C7E
split-complementary
#62227E #6C7E22 #227E34
monochromatic
#17081E #3D154E #62227E #872FAE #A74CCF

Accessibility & contrast

On white

10.25
#62227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#62227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62227E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62227E#FFFFFF#000000##FFFFFF
##62227E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#5F354D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #62227e;
/* rgb */ color: rgb(98, 34, 126);
/* oklch */ color: oklch(39.4% 0.153 313.5);
Tailwind
colors: {
  custom: {
    50: '#9263a4',
    500: '#62227e',
    950: '#000000',
  },
}
SCSS
$custom: #62227e;
$custom-light: #9263a4;
$custom-dark: #000000;
JSON
{
  "hex": "#62227e",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 281.739,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39371,
    "c": 0.15277,
    "h": 313.5
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#62227E
secondary
#6AB14B
accent
#E14776
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #62227E

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

Preview Lab → · Contrast checker → · Palette generator →

#62227E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva