#62337B#62337B

#62337B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.124 H 312.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#62337B
RGBrgb(98, 51, 123)
HSLhsl(279, 41%, 34%)
HSVhsv(279, 59%, 48%)
CMYKcmyk(20.3%, 58.5%, 0%, 51.8%)
CIE-LABlab(30.39, 34.48, -32.67)
CIE-LCHlch(30.39, 47.50, 316.55°)
OKLaboklab(41.45% 0.0835 -0.0915)
OKLCHoklch(41.45% 0.124 312.4)
XYZxyz(9.7954, 6.3946, 19.4533)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62337B #4C7B33
analogous
#3E337B #62337B #7B3370
triadic
#62337B #7B6233 #337B62
tetradic
#62337B #7B3E33 #4C7B33 #33707B
square
#62337B #7B3E33 #4C7B33 #33707B
split-complementary
#62337B #707B33 #337B3E
monochromatic
#1D0F24 #402150 #62337B #8445A6 #A268C0

Accessibility & contrast

On white

9.22
#62337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#62337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62337B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62337B#FFFFFF#000000##FFFFFF
##62337B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#2F4979
Tritanopia (blue-blind)
#5F3F52
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62337b;
/* rgb */ color: rgb(98, 51, 123);
/* oklch */ color: oklch(41.4% 0.124 312.4);
Tailwind
colors: {
  custom: {
    50: '#916da1',
    500: '#62337b',
    950: '#000000',
  },
}
SCSS
$custom: #62337b;
$custom-light: #916da1;
$custom-dark: #000000;
JSON
{
  "hex": "#62337b",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 279.167,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.12386,
    "h": 312.4
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#62337B
secondary
#7AA862
accent
#D15781
background
#F9F6FA
surface
#F1ECF3
border
#CBC7CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62337B

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

Preview Lab → · Contrast checker → · Palette generator →

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