#62317D#62317D

#62317D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.130 H 311.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#62317D
RGBrgb(98, 49, 125)
HSLhsl(279, 44%, 34%)
HSVhsv(279, 61%, 49%)
CMYKcmyk(21.6%, 60.8%, 0%, 51%)
CIE-LABlab(30.09, 36.07, -34.39)
CIE-LCHlch(30.09, 49.83, 316.36°)
OKLaboklab(41.27% 0.0863 -0.0966)
OKLCHoklch(41.27% 0.13 311.8)
XYZxyz(9.8363, 6.2742, 20.0909)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62317D #4C7D31
analogous
#3C317D #62317D #7D3172
triadic
#62317D #7D6231 #317D62
tetradic
#62317D #7D3C31 #4C7D31 #31727D
square
#62317D #7D3C31 #4C7D31 #31727D
split-complementary
#62317D #727D31 #317D3C
monochromatic
#1D0F25 #402051 #62317D #8442A9 #A266C3

Accessibility & contrast

On white

9.31
#62317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#62317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62317D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62317D#FFFFFF#000000##FFFFFF
##62317D1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447F
Deuteranopia (green-blind)
#2B487B
Tritanopia (blue-blind)
#5F3F52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62317d;
/* rgb */ color: rgb(98, 49, 125);
/* oklch */ color: oklch(41.3% 0.130 311.8);
Tailwind
colors: {
  custom: {
    50: '#916ca3',
    500: '#62317d',
    950: '#000000',
  },
}
SCSS
$custom: #62317d;
$custom-light: #916ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#62317d",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 278.684,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41273,
    "c": 0.12953,
    "h": 311.8
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#62317D
secondary
#7AAA60
accent
#D35482
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62317D

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

Preview Lab → · Contrast checker → · Palette generator →

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