#62319F#62319F

#62319F is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.169 H 299.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#62319F
RGBrgb(98, 49, 159)
HSLhsl(267, 53%, 41%)
HSVhsv(267, 69%, 62%)
CMYKcmyk(38.4%, 69.2%, 0%, 37.6%)
CIE-LABlab(32.47, 44.60, -51.51)
CIE-LCHlch(32.47, 68.14, 310.89°)
OKLaboklab(43.75% 0.084 -0.1468)
OKLCHoklch(43.75% 0.169 299.8)
XYZxyz(12.3918, 7.2964, 33.5497)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62319F #6E9F31
analogous
#31379F #62319F #99319F
triadic
#62319F #9F6231 #319F62
tetradic
#62319F #9F3137 #6E9F31 #319F99
square
#62319F #9F3137 #6E9F31 #319F99
split-complementary
#62319F #9F9931 #379F31
monochromatic
#281441 #452370 #62319F #8047C6 #A076D5

Accessibility & contrast

On white

8.54
#62319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#62319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62319F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62319F#FFFFFF#000000##FFFFFF
##62319F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#544B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62319f;
/* rgb */ color: rgb(98, 49, 159);
/* oklch */ color: oklch(43.7% 0.169 299.8);
Tailwind
colors: {
  custom: {
    50: '#946dbc',
    500: '#62319f',
    950: '#000000',
  },
}
SCSS
$custom: #62319f;
$custom-light: #946dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#62319f",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 266.727,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43748,
    "c": 0.16915,
    "h": 299.8
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#62319F
secondary
#9ABD6F
accent
#DC4C9C
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #62319F

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

Preview Lab → · Contrast checker → · Palette generator →

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