#62319A#62319A

#62319A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.163 H 301.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#62319A
RGBrgb(98, 49, 154)
HSLhsl(268, 52%, 40%)
HSVhsv(268, 68%, 60%)
CMYKcmyk(36.4%, 68.2%, 0%, 39.6%)
CIE-LABlab(32.09, 43.30, -49.09)
CIE-LCHlch(32.09, 65.46, 311.42°)
OKLaboklab(43.36% 0.0847 -0.1397)
OKLCHoklch(43.36% 0.163 301.2)
XYZxyz(11.9666, 7.1263, 31.3107)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62319A #699A31
analogous
#31359A #62319A #97319A
triadic
#62319A #9A6231 #319A62
tetradic
#62319A #9A3135 #699A31 #319A97
square
#62319A #9A3135 #699A31 #319A97
split-complementary
#62319A #9A9731 #359A31
monochromatic
#27133D #44226C #62319A #8045C4 #A073D2

Accessibility & contrast

On white

8.66
#62319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#62319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62319A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62319A#FFFFFF#000000##FFFFFF
##62319A1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#564961
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62319a;
/* rgb */ color: rgb(98, 49, 154);
/* oklch */ color: oklch(43.4% 0.163 301.2);
Tailwind
colors: {
  custom: {
    50: '#936db8',
    500: '#62319a',
    950: '#000000',
  },
}
SCSS
$custom: #62319a;
$custom-light: #936db8;
$custom-dark: #000000;
JSON
{
  "hex": "#62319a",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 268,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43357,
    "c": 0.16337,
    "h": 301.2
  },
  "luminance": 0.07126
}

Semantic roles & 50–950 ramp

primary
#62319A
secondary
#96BA6C
accent
#DB4D99
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #62319A

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

Preview Lab → · Contrast checker → · Palette generator →

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