#62317A#62317A

#62317A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.1% C 0.126 H 313.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#62317A
RGBrgb(98, 49, 122)
HSLhsl(280, 43%, 34%)
HSVhsv(280, 60%, 48%)
CMYKcmyk(19.7%, 59.8%, 0%, 52.2%)
CIE-LABlab(29.91, 35.36, -32.80)
CIE-LCHlch(29.91, 48.23, 317.15°)
OKLaboklab(41.08% 0.0862 -0.0919)
OKLCHoklch(41.08% 0.126 313.2)
XYZxyz(9.6476, 6.1987, 19.0968)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62317A #497A31
analogous
#3D317A #62317A #7A316D
triadic
#62317A #7A6231 #317A62
tetradic
#62317A #7A3D31 #497A31 #316D7A
square
#62317A #7A3D31 #497A31 #316D7A
split-complementary
#62317A #6D7A31 #317A3D
monochromatic
#1C0E23 #3F1F4E #62317A #8543A6 #A364C1

Accessibility & contrast

On white

9.38
#62317A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#62317A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62317A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62317A#FFFFFF#000000##FFFFFF
##62317A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447C
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#603E50
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62317a;
/* rgb */ color: rgb(98, 49, 122);
/* oklch */ color: oklch(41.1% 0.126 313.2);
Tailwind
colors: {
  custom: {
    50: '#916ca1',
    500: '#62317a',
    950: '#000000',
  },
}
SCSS
$custom: #62317a;
$custom-light: #916ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#62317a",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 280.274,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41078,
    "c": 0.12603,
    "h": 313.2
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#62317A
secondary
#77A85E
accent
#D2557E
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070F
muted
#7E7A7E

Preview Lab

Preview with #62317A

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

Preview Lab → · Contrast checker → · Palette generator →

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