#62339C#62339C

#62339C is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.163 H 300.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#62339C
RGBrgb(98, 51, 156)
HSLhsl(267, 51%, 41%)
HSVhsv(267, 67%, 61%)
CMYKcmyk(37.2%, 67.3%, 0%, 38.8%)
CIE-LABlab(32.62, 42.78, -49.45)
CIE-LCHlch(32.62, 65.38, 310.86°)
OKLaboklab(43.79% 0.0822 -0.1408)
OKLCHoklch(43.79% 0.163 300.3)
XYZxyz(12.2201, 7.3645, 32.2237)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62339C #6D9C33
analogous
#33389C #62339C #96339C
triadic
#62339C #9C6233 #339C62
tetradic
#62339C #9C3338 #6D9C33 #339C96
square
#62339C #9C3338 #6D9C33 #339C96
split-complementary
#62339C #9C9633 #389C33
monochromatic
#281540 #45246E #62339C #8049C3 #A077D3

Accessibility & contrast

On white

8.49
#62339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62339C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62339C#FFFFFF#000000##FFFFFF
##62339C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#554B63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #62339c;
/* rgb */ color: rgb(98, 51, 156);
/* oklch */ color: oklch(43.8% 0.163 300.3);
Tailwind
colors: {
  custom: {
    50: '#936eba',
    500: '#62339c',
    950: '#000000',
  },
}
SCSS
$custom: #62339c;
$custom-light: #936eba;
$custom-dark: #000000;
JSON
{
  "hex": "#62339c",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 266.857,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43785,
    "c": 0.163,
    "h": 300.3
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#62339C
secondary
#99BB70
accent
#DA4E9B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #62339C

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

Preview Lab → · Contrast checker → · Palette generator →

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