#62337C#62337C

#62337C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.125 H 311.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#62337C
RGBrgb(98, 51, 124)
HSLhsl(279, 42%, 34%)
HSVhsv(279, 59%, 49%)
CMYKcmyk(21%, 58.9%, 0%, 51.4%)
CIE-LABlab(30.45, 34.72, -33.20)
CIE-LCHlch(30.45, 48.03, 316.28°)
OKLaboklab(41.51% 0.0835 -0.0931)
OKLCHoklch(41.51% 0.125 311.9)
XYZxyz(9.8583, 6.4198, 19.7847)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62337C #4D7C33
analogous
#3E337C #62337C #7C3372
triadic
#62337C #7C6233 #337C62
tetradic
#62337C #7C3E33 #4D7C33 #33727C
square
#62337C #7C3E33 #4D7C33 #33727C
split-complementary
#62337C #727C33 #337C3E
monochromatic
#1D0F25 #402151 #62337C #8445A7 #A168C1

Accessibility & contrast

On white

9.19
#62337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62337C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62337C#FFFFFF#000000##FFFFFF
##62337C1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#2E497A
Tritanopia (blue-blind)
#5F4052
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62337c;
/* rgb */ color: rgb(98, 51, 124);
/* oklch */ color: oklch(41.5% 0.125 311.9);
Tailwind
colors: {
  custom: {
    50: '#916da2',
    500: '#62337c',
    950: '#000000',
  },
}
SCSS
$custom: #62337c;
$custom-light: #916da2;
$custom-dark: #000000;
JSON
{
  "hex": "#62337c",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 278.63,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41512,
    "c": 0.12505,
    "h": 311.9
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#62337C
secondary
#7BA962
accent
#D25682
background
#F9F6FA
surface
#F1ECF3
border
#CBC7CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62337C

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

Preview Lab → · Contrast checker → · Palette generator →

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