#62339B#62339B

#62339B is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.162 H 300.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#62339B
RGBrgb(98, 51, 155)
HSLhsl(267, 50%, 40%)
HSVhsv(267, 67%, 61%)
CMYKcmyk(36.8%, 67.1%, 0%, 39.2%)
CIE-LABlab(32.55, 42.52, -48.96)
CIE-LCHlch(32.55, 64.84, 310.97°)
OKLaboklab(43.71% 0.0823 -0.1393)
OKLCHoklch(43.71% 0.162 300.6)
XYZxyz(12.1358, 7.3308, 31.7796)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62339B #6C9B33
analogous
#33389B #62339B #96339B
triadic
#62339B #9B6233 #339B62
tetradic
#62339B #9B3338 #6C9B33 #339B96
square
#62339B #9B3338 #6C9B33 #339B96
split-complementary
#62339B #9B9633 #389B33
monochromatic
#28153F #45246D #62339B #8048C3 #A076D2

Accessibility & contrast

On white

8.52
#62339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#62339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62339B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62339B#FFFFFF#000000##FFFFFF
##62339B1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#564B62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #62339b;
/* rgb */ color: rgb(98, 51, 155);
/* oklch */ color: oklch(43.7% 0.162 300.6);
Tailwind
colors: {
  custom: {
    50: '#936eb9',
    500: '#62339b',
    950: '#000000',
  },
}
SCSS
$custom: #62339b;
$custom-light: #936eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#62339b",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 267.115,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43708,
    "c": 0.16182,
    "h": 300.6
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#62339B
secondary
#99BA6F
accent
#DA4E9B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #62339B

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

Preview Lab → · Contrast checker → · Palette generator →

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