#62247E#62247E

#62247E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.150 H 313.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#62247E
RGBrgb(98, 36, 126)
HSLhsl(281, 56%, 32%)
HSVhsv(281, 71%, 49%)
CMYKcmyk(22.2%, 71.4%, 0%, 50.6%)
CIE-LABlab(27.75, 42.92, -38.77)
CIE-LCHlch(27.75, 57.84, 317.90°)
OKLaboklab(39.6% 0.1029 -0.1093)
OKLCHoklch(39.6% 0.15 313.3)
XYZxyz(9.4331, 5.3651, 20.2733)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62247E #407E24
analogous
#35247E #62247E #7E246D
triadic
#62247E #7E6224 #247E62
tetradic
#62247E #7E3524 #407E24 #246D7E
square
#62247E #7E3524 #407E24 #246D7E
split-complementary
#62247E #6D7E24 #247E35
monochromatic
#18091F #3D164E #62247E #8732AE #A650CD

Accessibility & contrast

On white

10.13
#62247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#62247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62247E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62247E#FFFFFF#000000##FFFFFF
##62247E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#5F374E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #62247e;
/* rgb */ color: rgb(98, 36, 126);
/* oklch */ color: oklch(39.6% 0.150 313.3);
Tailwind
colors: {
  custom: {
    50: '#9264a4',
    500: '#62247e',
    950: '#000000',
  },
}
SCSS
$custom: #62247e;
$custom-light: #9264a4;
$custom-dark: #000000;
JSON
{
  "hex": "#62247e",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 281.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39601,
    "c": 0.15011,
    "h": 313.3
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#62247E
secondary
#6CB04E
accent
#DF4978
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #62247E

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

Preview Lab → · Contrast checker → · Palette generator →

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