#62399D#62399D

#62399D is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.7% C 0.156 H 298.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#62399D
RGBrgb(98, 57, 157)
HSLhsl(265, 47%, 42%)
HSVhsv(265, 64%, 62%)
CMYKcmyk(37.6%, 63.7%, 0%, 38.4%)
CIE-LABlab(33.89, 39.78, -48.00)
CIE-LCHlch(33.89, 62.34, 309.65°)
OKLaboklab(44.73% 0.0751 -0.1365)
OKLCHoklch(44.73% 0.156 298.8)
XYZxyz(12.5844, 7.9571, 32.7646)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62399D #749D39
analogous
#39429D #62399D #94399D
triadic
#62399D #9D6239 #399D62
tetradic
#62399D #9D3942 #749D39 #399D94
square
#62399D #9D3942 #749D39 #399D94
split-complementary
#62399D #9D9439 #429D39
monochromatic
#2A1843 #462970 #62399D #8053C0 #A180D1

Accessibility & contrast

On white

8.10
#62399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#62399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62399D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62399D#FFFFFF#000000##FFFFFF
##62399D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#0B4F9B
Tritanopia (blue-blind)
#554F65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #62399d;
/* rgb */ color: rgb(98, 57, 157);
/* oklch */ color: oklch(44.7% 0.156 298.8);
Tailwind
colors: {
  custom: {
    50: '#9372bb',
    500: '#62399d',
    950: '#000000',
  },
}
SCSS
$custom: #62399d;
$custom-light: #9372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#62399d",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 264.6,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44725,
    "c": 0.15579,
    "h": 298.8
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#62399D
secondary
#9FBA78
accent
#D651A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #62399D

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

Preview Lab → · Contrast checker → · Palette generator →

#62399D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva