#62399F#62399F

#62399F is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.158 H 298.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#62399F
RGBrgb(98, 57, 159)
HSLhsl(264, 47%, 42%)
HSVhsv(264, 64%, 62%)
CMYKcmyk(38.4%, 64.2%, 0%, 37.6%)
CIE-LABlab(34.04, 40.32, -48.98)
CIE-LCHlch(34.04, 63.44, 309.46°)
OKLaboklab(44.88% 0.0749 -0.1394)
OKLCHoklch(44.88% 0.158 298.3)
XYZxyz(12.7566, 8.0260, 33.6712)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62399F #769F39
analogous
#39439F #62399F #95399F
triadic
#62399F #9F6239 #399F62
tetradic
#62399F #9F3943 #769F39 #399F95
square
#62399F #9F3943 #769F39 #399F95
split-complementary
#62399F #9F9539 #439F39
monochromatic
#2A1945 #462972 #62399F #8054C2 #A181D2

Accessibility & contrast

On white

8.06
#62399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#62399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62399F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62399F#FFFFFF#000000##FFFFFF
##62399F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#034F9D
Tritanopia (blue-blind)
#545066
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #62399f;
/* rgb */ color: rgb(98, 57, 159);
/* oklch */ color: oklch(44.9% 0.158 298.3);
Tailwind
colors: {
  custom: {
    50: '#9372bc',
    500: '#62399f',
    950: '#000000',
  },
}
SCSS
$custom: #62399f;
$custom-light: #9372bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62399f",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 264.118,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44875,
    "c": 0.15825,
    "h": 298.3
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#62399F
secondary
#A0BB78
accent
#D751A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #62399F

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

Preview Lab → · Contrast checker → · Palette generator →

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