#6031B8#6031B8

#6031B8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.198 H 292.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6031B8
RGBrgb(96, 49, 184)
HSLhsl(261, 58%, 46%)
HSVhsv(261, 73%, 72%)
CMYKcmyk(47.8%, 73.4%, 0%, 27.8%)
CIE-LABlab(34.28, 50.88, -63.54)
CIE-LCHlch(34.28, 81.40, 308.69°)
OKLaboklab(45.62% 0.0763 -0.1822)
OKLCHoklch(45.62% 0.198 292.7)
XYZxyz(14.5715, 8.1436, 46.1422)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6031B8 #89B831
analogous
#3145B8 #6031B8 #A331B8
triadic
#6031B8 #B86031 #31B860
tetradic
#6031B8 #B83145 #89B831 #31B8A3
square
#6031B8 #B83145 #89B831 #31B8A3
split-complementary
#6031B8 #B8A331 #45B831
monochromatic
#2E1757 #472488 #6031B8 #8055D2 #A485DE

Accessibility & contrast

On white

7.99
#6031B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6031B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6031B8
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6031B8#FFFFFF#000000##FFFFFF
##6031B81.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#455572
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6031b8;
/* rgb */ color: rgb(96, 49, 184);
/* oklch */ color: oklch(45.6% 0.198 292.7);
Tailwind
colors: {
  custom: {
    50: '#956ece',
    500: '#6031b8',
    950: '#000000',
  },
}
SCSS
$custom: #6031b8;
$custom-light: #956ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6031b8",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 260.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45615,
    "c": 0.19754,
    "h": 292.7
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#6031B8
secondary
#AEC87D
accent
#E147AB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6031B8

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

Preview Lab → · Contrast checker → · Palette generator →

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