#62248B#62248B

#62248B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.164 H 308.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#62248B
RGBrgb(98, 36, 139)
HSLhsl(276, 59%, 34%)
HSVhsv(276, 74%, 55%)
CMYKcmyk(29.5%, 74.1%, 0%, 45.5%)
CIE-LABlab(28.70, 45.91, -45.37)
CIE-LCHlch(28.70, 64.54, 315.34°)
OKLaboklab(40.58% 0.1011 -0.1287)
OKLCHoklch(40.58% 0.164 308.2)
XYZxyz(10.3271, 5.7227, 24.9816)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62248B #4D8B24
analogous
#2F248B #62248B #8B2481
triadic
#62248B #8B6224 #248B62
tetradic
#62248B #8B2F24 #4D8B24 #24818B
square
#62248B #8B2F24 #4D8B24 #24818B
split-complementary
#62248B #818B24 #248B2F
monochromatic
#1D0B2A #40175A #62248B #8431BC #A156D3

Accessibility & contrast

On white

9.79
#62248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#62248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62248B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62248B#FFFFFF#000000##FFFFFF
##62248B1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#044489
Tritanopia (blue-blind)
#5C3C55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #62248b;
/* rgb */ color: rgb(98, 36, 139);
/* oklch */ color: oklch(40.6% 0.164 308.2);
Tailwind
colors: {
  custom: {
    50: '#9365ae',
    500: '#62248b',
    950: '#000000',
  },
}
SCSS
$custom: #62248b;
$custom-light: #9365ae;
$custom-dark: #000000;
JSON
{
  "hex": "#62248b",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 276.117,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.16367,
    "h": 308.2
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#62248B
secondary
#7BB753
accent
#E24684
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #62248B

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

Preview Lab → · Contrast checker → · Palette generator →

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