#6031AC#6031AC

#6031AC is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.184 H 295.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6031AC
RGBrgb(96, 49, 172)
HSLhsl(263, 56%, 43%)
HSVhsv(263, 72%, 67%)
CMYKcmyk(44.2%, 71.5%, 0%, 32.5%)
CIE-LABlab(33.27, 47.65, -58.05)
CIE-LCHlch(33.27, 75.10, 309.38°)
OKLaboklab(44.59% 0.0788 -0.1661)
OKLCHoklch(44.59% 0.184 295.4)
XYZxyz(13.3666, 7.6617, 39.7963)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6031AC #7DAC31
analogous
#313FAC #6031AC #9D31AC
triadic
#6031AC #AC6031 #31AC60
tetradic
#6031AC #AC313F #7DAC31 #31AC9D
square
#6031AC #AC313F #7DAC31 #31AC9D
split-complementary
#6031AC #AC9D31 #3FAC31
monochromatic
#2B164D #45237C #6031AC #7E4ECC #A17DDA

Accessibility & contrast

On white

8.29
#6031AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6031AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6031AC#FFFFFF#000000##FFFFFF
##6031AC1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#4B506B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6031ac;
/* rgb */ color: rgb(96, 49, 172);
/* oklch */ color: oklch(44.6% 0.184 295.4);
Tailwind
colors: {
  custom: {
    50: '#946dc6',
    500: '#6031ac',
    950: '#000000',
  },
}
SCSS
$custom: #6031ac;
$custom-light: #946dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6031ac",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 262.927,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.18388,
    "h": 295.4
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#6031AC
secondary
#A5C376
accent
#DF49A6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6031AC

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

Preview Lab → · Contrast checker → · Palette generator →

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