#62248F#62248F

#62248F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.168 H 306.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#62248F
RGBrgb(98, 36, 143)
HSLhsl(275, 60%, 35%)
HSVhsv(275, 75%, 56%)
CMYKcmyk(31.5%, 74.8%, 0%, 43.9%)
CIE-LABlab(29.01, 46.85, -47.34)
CIE-LCHlch(29.01, 66.61, 314.70°)
OKLaboklab(40.89% 0.1004 -0.1345)
OKLCHoklch(40.89% 0.168 306.7)
XYZxyz(10.6247, 5.8417, 26.5491)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62248F #518F24
analogous
#2C248F #62248F #8F2487
triadic
#62248F #8F6224 #248F62
tetradic
#62248F #8F2C24 #518F24 #24878F
square
#62248F #8F2C24 #518F24 #24878F
split-complementary
#62248F #878F24 #248F2C
monochromatic
#1F0B2D #40185E #62248F #8430C0 #A158D5

Accessibility & contrast

On white

9.68
#62248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#62248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62248F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62248F#FFFFFF#000000##FFFFFF
##62248F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#5A3D57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #62248f;
/* rgb */ color: rgb(98, 36, 143);
/* oklch */ color: oklch(40.9% 0.168 306.7);
Tailwind
colors: {
  custom: {
    50: '#9365b1',
    500: '#62248f',
    950: '#000000',
  },
}
SCSS
$custom: #62248f;
$custom-light: #9365b1;
$custom-dark: #000000;
JSON
{
  "hex": "#62248f",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 274.766,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40895,
    "c": 0.16785,
    "h": 306.7
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#62248F
secondary
#7FB955
accent
#E34587
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62248F

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

Preview Lab → · Contrast checker → · Palette generator →

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