#6031BC#6031BC

#6031BC is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.202 H 291.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6031BC
RGBrgb(96, 49, 188)
HSLhsl(260, 59%, 46%)
HSVhsv(260, 74%, 74%)
CMYKcmyk(48.9%, 73.9%, 0%, 26.3%)
CIE-LABlab(34.63, 51.96, -65.33)
CIE-LCHlch(34.63, 83.47, 308.50°)
OKLaboklab(45.97% 0.0753 -0.1875)
OKLCHoklch(45.97% 0.202 291.9)
XYZxyz(14.9967, 8.3137, 48.3817)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6031BC #8DBC31
analogous
#3147BC #6031BC #A631BC
triadic
#6031BC #BC6031 #31BC60
tetradic
#6031BC #BC3147 #8DBC31 #31BCA6
square
#6031BC #BC3147 #8DBC31 #31BCA6
split-complementary
#6031BC #BCA631 #47BC31
monochromatic
#2E185B #47248B #6031BC #8157D3 #A588E0

Accessibility & contrast

On white

7.89
#6031BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6031BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6031BC#FFFFFF#000000##FFFFFF
##6031BC1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#425674
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6031bc;
/* rgb */ color: rgb(96, 49, 188);
/* oklch */ color: oklch(46.0% 0.202 291.9);
Tailwind
colors: {
  custom: {
    50: '#966ed1',
    500: '#6031bc',
    950: '#000000',
  },
}
SCSS
$custom: #6031bc;
$custom-light: #966ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6031bc",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 260.288,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45968,
    "c": 0.20204,
    "h": 291.9
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#6031BC
secondary
#B0CA7F
accent
#E246AD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #6031BC

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

Preview Lab → · Contrast checker → · Palette generator →

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