#6047BF#6047BF

#6047BF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.3% C 0.179 H 287.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6047BF
RGBrgb(96, 71, 191)
HSLhsl(253, 48%, 51%)
HSVhsv(253, 63%, 75%)
CMYKcmyk(49.7%, 62.8%, 0%, 25.1%)
CIE-LABlab(39.16, 41.03, -59.69)
CIE-LCHlch(39.16, 72.43, 304.50°)
OKLaboklab(49.29% 0.0539 -0.171)
OKLCHoklch(49.29% 0.179 287.5)
XYZxyz(16.4783, 10.7541, 50.4876)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047BF #A6BF47
analogous
#476ABF #6047BF #9C47BF
triadic
#6047BF #BF6047 #47BF60
tetradic
#6047BF #BF476A #A6BF47 #47BF9C
square
#6047BF #BF476A #A6BF47 #47BF9C
split-complementary
#6047BF #BF9C47 #6ABF47
monochromatic
#322468 #483495 #6047BF #8774CF #AEA2DF

Accessibility & contrast

On white

6.66
#6047BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6047BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047BF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047BF#FFFFFF#000000##FFFFFF
##6047BF1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#3E647C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6047bf;
/* rgb */ color: rgb(96, 71, 191);
/* oklch */ color: oklch(49.3% 0.179 287.5);
Tailwind
colors: {
  custom: {
    50: '#957bd3',
    500: '#6047bf',
    950: '#000000',
  },
}
SCSS
$custom: #6047bf;
$custom-light: #957bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6047bf",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 252.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.17928,
    "h": 287.5
  },
  "luminance": 0.10755
}

Semantic roles & 50–950 ramp

primary
#6047BF
secondary
#C0CB96
accent
#D850BC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6047BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6047BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva