#62337A#62337A

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

Color values

HEX#62337A
RGBrgb(98, 51, 122)
HSLhsl(280, 41%, 34%)
HSVhsv(280, 58%, 48%)
CMYKcmyk(19.7%, 58.2%, 0%, 52.2%)
CIE-LABlab(30.33, 34.24, -32.13)
CIE-LCHlch(30.33, 46.96, 316.82°)
OKLaboklab(41.38% 0.0834 -0.09)
OKLCHoklch(41.38% 0.123 312.8)
XYZxyz(9.7331, 6.3697, 19.1253)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62337A #4B7A33
analogous
#3F337A #62337A #7A336F
triadic
#62337A #7A6233 #337A62
tetradic
#62337A #7A3F33 #4B7A33 #336F7A
square
#62337A #7A3F33 #4B7A33 #336F7A
split-complementary
#62337A #6F7A33 #337A3F
monochromatic
#1D0F24 #3F214F #62337A #8545A5 #A268C0

Accessibility & contrast

On white

9.24
#62337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#62337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62337A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62337A#FFFFFF#000000##FFFFFF
##62337A1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#304878
Tritanopia (blue-blind)
#603F51
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62337a;
/* rgb */ color: rgb(98, 51, 122);
/* oklch */ color: oklch(41.4% 0.123 312.8);
Tailwind
colors: {
  custom: {
    50: '#916da1',
    500: '#62337a',
    950: '#000000',
  },
}
SCSS
$custom: #62337a;
$custom-light: #916da1;
$custom-dark: #000000;
JSON
{
  "hex": "#62337a",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 279.718,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41384,
    "c": 0.12268,
    "h": 312.8
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#62337A
secondary
#79A861
accent
#D15780
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D070F
muted
#7E7A7E

Preview Lab

Preview with #62337A

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

Preview Lab → · Contrast checker → · Palette generator →

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