#6031A8#6031A8

#6031A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.179 H 296.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6031A8
RGBrgb(96, 49, 168)
HSLhsl(264, 55%, 43%)
HSVhsv(264, 71%, 66%)
CMYKcmyk(42.9%, 70.8%, 0%, 34.1%)
CIE-LABlab(32.94, 46.58, -56.19)
CIE-LCHlch(32.94, 72.99, 309.66°)
OKLaboklab(44.25% 0.0796 -0.1606)
OKLCHoklch(44.25% 0.179 296.4)
XYZxyz(12.9882, 7.5103, 37.8035)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6031A8 #79A831
analogous
#313EA8 #6031A8 #9B31A8
triadic
#6031A8 #A86031 #31A860
tetradic
#6031A8 #A8313E #79A831 #31A89B
square
#6031A8 #A8313E #79A831 #31A89B
split-complementary
#6031A8 #A89B31 #3EA831
monochromatic
#2A1549 #452379 #6031A8 #7E4CCB #A07BD8

Accessibility & contrast

On white

8.39
#6031A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6031A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6031A8#FFFFFF#000000##FFFFFF
##6031A81.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#4D4F69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6031a8;
/* rgb */ color: rgb(96, 49, 168);
/* oklch */ color: oklch(44.3% 0.179 296.4);
Tailwind
colors: {
  custom: {
    50: '#936dc3',
    500: '#6031a8',
    950: '#000000',
  },
}
SCSS
$custom: #6031a8;
$custom-light: #936dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6031a8",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 263.697,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.17928,
    "h": 296.4
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#6031A8
secondary
#A3C174
accent
#DE4AA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6031A8

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

Preview Lab → · Contrast checker → · Palette generator →

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