#62339F#62339F

#62339F is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.167 H 299.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#62339F
RGBrgb(98, 51, 159)
HSLhsl(266, 51%, 41%)
HSVhsv(266, 68%, 62%)
CMYKcmyk(38.4%, 67.9%, 0%, 37.6%)
CIE-LABlab(32.85, 43.56, -50.90)
CIE-LCHlch(32.85, 67.00, 310.56°)
OKLaboklab(44.02% 0.0818 -0.145)
OKLCHoklch(44.02% 0.167 299.4)
XYZxyz(12.4773, 7.4674, 33.5782)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62339F #709F33
analogous
#333A9F #62339F #98339F
triadic
#62339F #9F6233 #339F62
tetradic
#62339F #9F333A #709F33 #339F98
square
#62339F #9F333A #709F33 #339F98
split-complementary
#62339F #9F9833 #3A9F33
monochromatic
#291542 #452471 #62339F #804AC5 #A079D4

Accessibility & contrast

On white

8.42
#62339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#62339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62339F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62339F#FFFFFF#000000##FFFFFF
##62339F1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#544C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #62339f;
/* rgb */ color: rgb(98, 51, 159);
/* oklch */ color: oklch(44.0% 0.167 299.4);
Tailwind
colors: {
  custom: {
    50: '#946ebc',
    500: '#62339f',
    950: '#000000',
  },
}
SCSS
$custom: #62339f;
$custom-light: #946ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#62339f",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 266.111,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44018,
    "c": 0.16652,
    "h": 299.4
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#62339F
secondary
#9CBC71
accent
#DB4D9D
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #62339F

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

Preview Lab → · Contrast checker → · Palette generator →

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