#6047BA#6047BA

#6047BA is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.173 H 288.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6047BA
RGBrgb(96, 71, 186)
HSLhsl(253, 45%, 50%)
HSVhsv(253, 62%, 73%)
CMYKcmyk(48.4%, 61.8%, 0%, 27.1%)
CIE-LABlab(38.79, 39.55, -57.37)
CIE-LCHlch(38.79, 69.68, 304.58°)
OKLaboklab(48.91% 0.0543 -0.1641)
OKLCHoklch(48.91% 0.173 288.3)
XYZxyz(15.9375, 10.5378, 47.6391)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047BA #A1BA47
analogous
#4768BA #6047BA #9947BA
triadic
#6047BA #BA6047 #47BA60
tetradic
#6047BA #BA4768 #A1BA47 #47BA99
square
#6047BA #BA4768 #A1BA47 #47BA99
split-complementary
#6047BA #BA9947 #68BA47
monochromatic
#322562 #49358E #6047BA #8674CB #ADA0DB

Accessibility & contrast

On white

6.76
#6047BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6047BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047BA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047BA#FFFFFF#000000##FFFFFF
##6047BA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#42627A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6047ba;
/* rgb */ color: rgb(96, 71, 186);
/* oklch */ color: oklch(48.9% 0.173 288.3);
Tailwind
colors: {
  custom: {
    50: '#947bd0',
    500: '#6047ba',
    950: '#000000',
  },
}
SCSS
$custom: #6047ba;
$custom-light: #947bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6047ba",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 253.043,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48906,
    "c": 0.17289,
    "h": 288.3
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#6047BA
secondary
#BDC895
accent
#D553B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6047BA

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

Preview Lab → · Contrast checker → · Palette generator →

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