#6031AD#6031AD

#6031AD is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.185 H 295.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6031AD
RGBrgb(96, 49, 173)
HSLhsl(263, 56%, 44%)
HSVhsv(263, 72%, 68%)
CMYKcmyk(44.5%, 71.7%, 0%, 32.2%)
CIE-LABlab(33.35, 47.92, -58.51)
CIE-LCHlch(33.35, 75.63, 309.32°)
OKLaboklab(44.67% 0.0786 -0.1675)
OKLCHoklch(44.67% 0.185 295.2)
XYZxyz(13.4630, 7.7002, 40.3040)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6031AD #7EAD31
analogous
#3140AD #6031AD #9E31AD
triadic
#6031AD #AD6031 #31AD60
tetradic
#6031AD #AD3140 #7EAD31 #31AD9E
square
#6031AD #AD3140 #7EAD31 #31AD9E
split-complementary
#6031AD #AD9E31 #40AD31
monochromatic
#2B164E #46237D #6031AD #7E4ECD #A17EDA

Accessibility & contrast

On white

8.27
#6031AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6031AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6031AD#FFFFFF#000000##FFFFFF
##6031AD1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#4B506C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6031ad;
/* rgb */ color: rgb(96, 49, 173);
/* oklch */ color: oklch(44.7% 0.185 295.2);
Tailwind
colors: {
  custom: {
    50: '#946dc6',
    500: '#6031ad',
    950: '#000000',
  },
}
SCSS
$custom: #6031ad;
$custom-light: #946dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6031ad",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 262.742,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4467,
    "c": 0.18502,
    "h": 295.2
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6031AD

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

Preview Lab → · Contrast checker → · Palette generator →

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