#6031AE#6031AE

#6031AE is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.186 H 294.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6031AE
RGBrgb(96, 49, 174)
HSLhsl(263, 56%, 44%)
HSVhsv(263, 72%, 68%)
CMYKcmyk(44.8%, 71.8%, 0%, 31.8%)
CIE-LABlab(33.43, 48.19, -58.98)
CIE-LCHlch(33.43, 76.16, 309.25°)
OKLaboklab(44.75% 0.0784 -0.1688)
OKLCHoklch(44.75% 0.186 294.9)
XYZxyz(13.5601, 7.7391, 40.8155)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6031AE #7FAE31
analogous
#3140AE #6031AE #9E31AE
triadic
#6031AE #AE6031 #31AE60
tetradic
#6031AE #AE3140 #7FAE31 #31AE9E
square
#6031AE #AE3140 #7FAE31 #31AE9E
split-complementary
#6031AE #AE9E31 #40AE31
monochromatic
#2B164E #46247E #6031AE #7E4FCD #A17FDB

Accessibility & contrast

On white

8.24
#6031AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6031AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6031AE
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6031AE#FFFFFF#000000##FFFFFF
##6031AE1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#4A516C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6031ae;
/* rgb */ color: rgb(96, 49, 174);
/* oklch */ color: oklch(44.8% 0.186 294.9);
Tailwind
colors: {
  custom: {
    50: '#946dc7',
    500: '#6031ae',
    950: '#000000',
  },
}
SCSS
$custom: #6031ae;
$custom-light: #946dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6031ae",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 262.56,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44754,
    "c": 0.18616,
    "h": 294.9
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#6031AE
secondary
#A7C477
accent
#DF48A7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6031AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6031AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva