#62319B#62319B

#62319B is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.165 H 300.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#62319B
RGBrgb(98, 49, 155)
HSLhsl(268, 52%, 40%)
HSVhsv(268, 68%, 61%)
CMYKcmyk(36.8%, 68.4%, 0%, 39.2%)
CIE-LABlab(32.17, 43.56, -49.58)
CIE-LCHlch(32.17, 66.00, 311.30°)
OKLaboklab(43.44% 0.0846 -0.1411)
OKLCHoklch(43.44% 0.165 300.9)
XYZxyz(12.0503, 7.1598, 31.7511)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62319B #6A9B31
analogous
#31359B #62319B #97319B
triadic
#62319B #9B6231 #319B62
tetradic
#62319B #9B3135 #6A9B31 #319B97
square
#62319B #9B3135 #6A9B31 #319B97
split-complementary
#62319B #9B9731 #359B31
monochromatic
#27143E #45226D #62319B #8045C4 #A073D3

Accessibility & contrast

On white

8.63
#62319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62319B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62319B#FFFFFF#000000##FFFFFF
##62319B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#564962
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62319b;
/* rgb */ color: rgb(98, 49, 155);
/* oklch */ color: oklch(43.4% 0.165 300.9);
Tailwind
colors: {
  custom: {
    50: '#936db9',
    500: '#62319b',
    950: '#000000',
  },
}
SCSS
$custom: #62319b;
$custom-light: #936db9;
$custom-dark: #000000;
JSON
{
  "hex": "#62319b",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 267.736,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.16453,
    "h": 300.9
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#62319B
secondary
#97BB6D
accent
#DB4C99
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #62319B

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

Preview Lab → · Contrast checker → · Palette generator →

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