#6047AC#6047AC

#6047AC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.9% C 0.155 H 290.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#6047AC
RGBrgb(96, 71, 172)
HSLhsl(255, 42%, 48%)
HSVhsv(255, 59%, 67%)
CMYKcmyk(44.2%, 58.7%, 0%, 32.5%)
CIE-LABlab(37.79, 35.44, -50.71)
CIE-LCHlch(37.79, 61.87, 304.95°)
OKLaboklab(47.86% 0.0549 -0.1446)
OKLCHoklch(47.86% 0.155 290.8)
XYZxyz(14.5214, 9.9714, 40.1813)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047AC #93AC47
analogous
#4761AC #6047AC #9247AC
triadic
#6047AC #AC6047 #47AC60
tetradic
#6047AC #AC4761 #93AC47 #47AC92
square
#6047AC #AC4761 #93AC47 #47AC92
split-complementary
#6047AC #AC9247 #61AC47
monochromatic
#302355 #483581 #6047AC #836DC3 #A899D5

Accessibility & contrast

On white

7.01
#6047AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6047AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6047AC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047AC#FFFFFF#000000##FFFFFF
##6047AC1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#0A57AA
Tritanopia (blue-blind)
#4A5D72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6047ac;
/* rgb */ color: rgb(96, 71, 172);
/* oklch */ color: oklch(47.9% 0.155 290.8);
Tailwind
colors: {
  custom: {
    50: '#927bc5',
    500: '#6047ac',
    950: '#000000',
  },
}
SCSS
$custom: #6047ac;
$custom-light: #927bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6047ac",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 254.851,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.15463,
    "h": 290.8
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#6047AC
secondary
#B4C18E
accent
#D156B3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #6047AC

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

Preview Lab → · Contrast checker → · Palette generator →

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