#62399C#62399C

#62399C is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.155 H 299.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#62399C
RGBrgb(98, 57, 156)
HSLhsl(265, 46%, 42%)
HSVhsv(265, 63%, 61%)
CMYKcmyk(37.2%, 63.5%, 0%, 38.8%)
CIE-LABlab(33.82, 39.51, -47.51)
CIE-LCHlch(33.82, 61.79, 309.75°)
OKLaboklab(44.65% 0.0751 -0.1351)
OKLCHoklch(44.65% 0.155 299.1)
XYZxyz(12.4994, 7.9231, 32.3168)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62399C #739C39
analogous
#39429C #62399C #94399C
triadic
#62399C #9C6239 #399C62
tetradic
#62399C #9C3942 #739C39 #399C94
square
#62399C #9C3942 #739C39 #399C94
split-complementary
#62399C #9C9439 #429C39
monochromatic
#2A1842 #46296F #62399C #8052C0 #A17FD0

Accessibility & contrast

On white

8.13
#62399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#62399C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62399C
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62399C#FFFFFF#000000##FFFFFF
##62399C1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#0E4F9A
Tritanopia (blue-blind)
#554F65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #62399c;
/* rgb */ color: rgb(98, 57, 156);
/* oklch */ color: oklch(44.7% 0.155 299.1);
Tailwind
colors: {
  custom: {
    50: '#9372ba',
    500: '#62399c',
    950: '#000000',
  },
}
SCSS
$custom: #62399c;
$custom-light: #9372ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62399c",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 264.848,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44651,
    "c": 0.15457,
    "h": 299.1
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#62399C
secondary
#9EBA77
accent
#D6529F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #62399C

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

Preview Lab → · Contrast checker → · Palette generator →

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