#6031AB#6031AB

#6031AB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.183 H 295.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6031AB
RGBrgb(96, 49, 171)
HSLhsl(263, 55%, 43%)
HSVhsv(263, 71%, 67%)
CMYKcmyk(43.9%, 71.3%, 0%, 32.9%)
CIE-LABlab(33.19, 47.38, -57.59)
CIE-LCHlch(33.19, 74.58, 309.45°)
OKLaboklab(44.5% 0.079 -0.1647)
OKLCHoklch(44.5% 0.183 295.6)
XYZxyz(13.2709, 7.6234, 39.2924)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6031AB #7CAB31
analogous
#313FAB #6031AB #9D31AB
triadic
#6031AB #AB6031 #31AB60
tetradic
#6031AB #AB313F #7CAB31 #31AB9D
square
#6031AB #AB313F #7CAB31 #31AB9D
split-complementary
#6031AB #AB9D31 #3FAB31
monochromatic
#2B164C #45237B #6031AB #7E4DCC #A17DDA

Accessibility & contrast

On white

8.32
#6031AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6031AB#FFFFFF#000000##FFFFFF
##6031AB1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#4C506A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6031ab;
/* rgb */ color: rgb(96, 49, 171);
/* oklch */ color: oklch(44.5% 0.183 295.6);
Tailwind
colors: {
  custom: {
    50: '#946dc5',
    500: '#6031ab',
    950: '#000000',
  },
}
SCSS
$custom: #6031ab;
$custom-light: #946dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6031ab",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 263.115,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44501,
    "c": 0.18273,
    "h": 295.6
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6031AB

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

Preview Lab → · Contrast checker → · Palette generator →

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