#6047AA#6047AA

#6047AA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.7% C 0.152 H 291.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6047AA
RGBrgb(96, 71, 170)
HSLhsl(255, 41%, 47%)
HSVhsv(255, 58%, 67%)
CMYKcmyk(43.5%, 58.2%, 0%, 33.3%)
CIE-LABlab(37.65, 34.86, -49.74)
CIE-LCHlch(37.65, 60.74, 305.02°)
OKLaboklab(47.71% 0.0549 -0.1417)
OKLCHoklch(47.71% 0.152 291.2)
XYZxyz(14.3308, 9.8951, 39.1773)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047AA #91AA47
analogous
#475FAA #6047AA #9247AA
triadic
#6047AA #AA6047 #47AA60
tetradic
#6047AA #AA475F #91AA47 #47AA92
square
#6047AA #AA475F #91AA47 #47AA92
split-complementary
#6047AA #AA9247 #5FAA47
monochromatic
#2F2354 #48357F #6047AA #826CC2 #A798D4

Accessibility & contrast

On white

7.05
#6047AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6047AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6047AA#FFFFFF#000000##FFFFFF
##6047AA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065AAD
Deuteranopia (green-blind)
#1157A8
Tritanopia (blue-blind)
#4B5D71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6047aa;
/* rgb */ color: rgb(96, 71, 170);
/* oklch */ color: oklch(47.7% 0.152 291.2);
Tailwind
colors: {
  custom: {
    50: '#927bc4',
    500: '#6047aa',
    950: '#000000',
  },
}
SCSS
$custom: #6047aa;
$custom-light: #927bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6047aa",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 255.152,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47712,
    "c": 0.15198,
    "h": 291.2
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#6047AA
secondary
#B3C08D
accent
#D157B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #6047AA

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

Preview Lab → · Contrast checker → · Palette generator →

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