#6047BB#6047BB

#6047BB is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.174 H 288.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6047BB
RGBrgb(96, 71, 187)
HSLhsl(253, 46%, 51%)
HSVhsv(253, 62%, 73%)
CMYKcmyk(48.7%, 62%, 0%, 26.7%)
CIE-LABlab(38.86, 39.85, -57.83)
CIE-LCHlch(38.86, 70.23, 304.57°)
OKLaboklab(48.98% 0.0542 -0.1655)
OKLCHoklch(48.98% 0.174 288.1)
XYZxyz(16.0442, 10.5804, 48.2009)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047BB #A2BB47
analogous
#4768BB #6047BB #9A47BB
triadic
#6047BB #BB6047 #47BB60
tetradic
#6047BB #BB4768 #A2BB47 #47BB9A
square
#6047BB #BB4768 #A2BB47 #47BB9A
split-complementary
#6047BB #BB9A47 #68BB47
monochromatic
#322563 #493590 #6047BB #8774CC #ADA0DC

Accessibility & contrast

On white

6.74
#6047BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6047BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047BB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047BB#FFFFFF#000000##FFFFFF
##6047BB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#41627A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6047bb;
/* rgb */ color: rgb(96, 71, 187);
/* oklch */ color: oklch(49.0% 0.174 288.1);
Tailwind
colors: {
  custom: {
    50: '#947bd0',
    500: '#6047bb',
    950: '#000000',
  },
}
SCSS
$custom: #6047bb;
$custom-light: #947bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6047bb",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 252.931,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48983,
    "c": 0.17416,
    "h": 288.1
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#6047BB
secondary
#BEC995
accent
#D652B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6047BB

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

Preview Lab → · Contrast checker → · Palette generator →

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