#62248A#62248A

#62248A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.163 H 308.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#62248A
RGBrgb(98, 36, 138)
HSLhsl(276, 59%, 34%)
HSVhsv(276, 74%, 54%)
CMYKcmyk(29%, 73.9%, 0%, 45.9%)
CIE-LABlab(28.63, 45.67, -44.87)
CIE-LCHlch(28.63, 64.03, 315.51°)
OKLaboklab(40.5% 0.1013 -0.1272)
OKLCHoklch(40.5% 0.163 308.5)
XYZxyz(10.2544, 5.6936, 24.5986)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62248A #4C8A24
analogous
#2F248A #62248A #8A247F
triadic
#62248A #8A6224 #248A62
tetradic
#62248A #8A2F24 #4C8A24 #247F8A
square
#62248A #8A2F24 #4C8A24 #247F8A
split-complementary
#62248A #7F8A24 #248A2F
monochromatic
#1D0B29 #401759 #62248A #8431BB #A256D3

Accessibility & contrast

On white

9.82
#62248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62248A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62248A#FFFFFF#000000##FFFFFF
##62248A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#074488
Tritanopia (blue-blind)
#5C3B55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62248a;
/* rgb */ color: rgb(98, 36, 138);
/* oklch */ color: oklch(40.5% 0.163 308.5);
Tailwind
colors: {
  custom: {
    50: '#9365ad',
    500: '#62248a',
    950: '#000000',
  },
}
SCSS
$custom: #62248a;
$custom-light: #9365ad;
$custom-dark: #000000;
JSON
{
  "hex": "#62248a",
  "rgb": {
    "r": 98,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 276.471,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.16262,
    "h": 308.5
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#62248A
secondary
#7AB753
accent
#E24683
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #62248A

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

Preview Lab → · Contrast checker → · Palette generator →

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