#62317C#62317C

#62317C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.128 H 312.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#62317C
RGBrgb(98, 49, 124)
HSLhsl(279, 43%, 34%)
HSVhsv(279, 60%, 49%)
CMYKcmyk(21%, 60.5%, 0%, 51.4%)
CIE-LABlab(30.03, 35.83, -33.86)
CIE-LCHlch(30.03, 49.30, 316.62°)
OKLaboklab(41.21% 0.0863 -0.095)
OKLCHoklch(41.21% 0.128 312.3)
XYZxyz(9.7728, 6.2488, 19.7562)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62317C #4B7C31
analogous
#3D317C #62317C #7C3171
triadic
#62317C #7C6231 #317C62
tetradic
#62317C #7C3D31 #4B7C31 #31717C
square
#62317C #7C3D31 #4B7C31 #31717C
split-complementary
#62317C #717C31 #317C3D
monochromatic
#1D0E24 #3F2050 #62317C #8542A8 #A265C2

Accessibility & contrast

On white

9.33
#62317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62317C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62317C#FFFFFF#000000##FFFFFF
##62317C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#2C487A
Tritanopia (blue-blind)
#5F3E51
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62317c;
/* rgb */ color: rgb(98, 49, 124);
/* oklch */ color: oklch(41.2% 0.128 312.3);
Tailwind
colors: {
  custom: {
    50: '#916ca2',
    500: '#62317c',
    950: '#000000',
  },
}
SCSS
$custom: #62317c;
$custom-light: #916ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#62317c",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 279.2,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.12836,
    "h": 312.3
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#62317C
secondary
#79AA5F
accent
#D35581
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62317C

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

Preview Lab → · Contrast checker → · Palette generator →

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