#6031AA#6031AA

#6031AA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.182 H 295.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6031AA
RGBrgb(96, 49, 170)
HSLhsl(263, 55%, 43%)
HSVhsv(263, 71%, 67%)
CMYKcmyk(43.5%, 71.2%, 0%, 33.3%)
CIE-LABlab(33.10, 47.12, -57.12)
CIE-LCHlch(33.10, 74.05, 309.52°)
OKLaboklab(44.42% 0.0792 -0.1634)
OKLCHoklch(44.42% 0.182 295.9)
XYZxyz(13.1760, 7.5854, 38.7923)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6031AA #7BAA31
analogous
#313EAA #6031AA #9C31AA
triadic
#6031AA #AA6031 #31AA60
tetradic
#6031AA #AA313E #7BAA31 #31AA9C
square
#6031AA #AA313E #7BAA31 #31AA9C
split-complementary
#6031AA #AA9C31 #3EAA31
monochromatic
#2A164B #45237A #6031AA #7E4DCC #A07CD9

Accessibility & contrast

On white

8.34
#6031AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6031AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6031AA#FFFFFF#000000##FFFFFF
##6031AA1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#4C4F6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6031aa;
/* rgb */ color: rgb(96, 49, 170);
/* oklch */ color: oklch(44.4% 0.182 295.9);
Tailwind
colors: {
  custom: {
    50: '#946dc4',
    500: '#6031aa',
    950: '#000000',
  },
}
SCSS
$custom: #6031aa;
$custom-light: #946dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6031aa",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 263.306,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.18158,
    "h": 295.9
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#6031AA
secondary
#A4C275
accent
#DF49A5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6031AA

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

Preview Lab → · Contrast checker → · Palette generator →

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