#6047BD#6047BD

#6047BD is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.1% C 0.177 H 287.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6047BD
RGBrgb(96, 71, 189)
HSLhsl(253, 47%, 51%)
HSVhsv(253, 62%, 74%)
CMYKcmyk(49.2%, 62.4%, 0%, 25.9%)
CIE-LABlab(39.01, 40.44, -58.76)
CIE-LCHlch(39.01, 71.33, 304.53°)
OKLaboklab(49.14% 0.0541 -0.1682)
OKLCHoklch(49.14% 0.177 287.8)
XYZxyz(16.2597, 10.6667, 49.3364)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047BD #A4BD47
analogous
#4769BD #6047BD #9B47BD
triadic
#6047BD #BD6047 #47BD60
tetradic
#6047BD #BD4769 #A4BD47 #47BD9B
square
#6047BD #BD4769 #A4BD47 #47BD9B
split-complementary
#6047BD #BD9B47 #69BD47
monochromatic
#322465 #483492 #6047BD #8774CD #AEA1DD

Accessibility & contrast

On white

6.70
#6047BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6047BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047BD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047BD#FFFFFF#000000##FFFFFF
##6047BD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#40637B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6047bd;
/* rgb */ color: rgb(96, 71, 189);
/* oklch */ color: oklch(49.1% 0.177 287.8);
Tailwind
colors: {
  custom: {
    50: '#957bd2',
    500: '#6047bd',
    950: '#000000',
  },
}
SCSS
$custom: #6047bd;
$custom-light: #957bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6047bd",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 252.712,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.17673,
    "h": 287.8
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#6047BD
secondary
#BFCA96
accent
#D751BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6047BD

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

Preview Lab → · Contrast checker → · Palette generator →

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