#62399B#62399B

#62399B is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.6% C 0.153 H 299.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#62399B
RGBrgb(98, 57, 155)
HSLhsl(265, 46%, 42%)
HSVhsv(265, 63%, 61%)
CMYKcmyk(36.8%, 63.2%, 0%, 39.2%)
CIE-LABlab(33.75, 39.25, -47.02)
CIE-LCHlch(33.75, 61.24, 309.85°)
OKLaboklab(44.58% 0.0752 -0.1336)
OKLCHoklch(44.58% 0.153 299.4)
XYZxyz(12.4151, 7.8894, 31.8727)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62399B #729B39
analogous
#39419B #62399B #93399B
triadic
#62399B #9B6239 #399B62
tetradic
#62399B #9B3941 #729B39 #399B93
square
#62399B #9B3941 #729B39 #399B93
split-complementary
#62399B #9B9339 #419B39
monochromatic
#291842 #46296E #62399B #8052BF #A17FD0

Accessibility & contrast

On white

8.15
#62399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62399B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62399B#FFFFFF#000000##FFFFFF
##62399B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#104F99
Tritanopia (blue-blind)
#554E64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #62399b;
/* rgb */ color: rgb(98, 57, 155);
/* oklch */ color: oklch(44.6% 0.153 299.4);
Tailwind
colors: {
  custom: {
    50: '#9372b9',
    500: '#62399b',
    950: '#000000',
  },
}
SCSS
$custom: #62399b;
$custom-light: #9372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62399b",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 265.102,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44577,
    "c": 0.15335,
    "h": 299.4
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#62399B
secondary
#9DB977
accent
#D6529F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #62399B

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

Preview Lab → · Contrast checker → · Palette generator →

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