#6047AF#6047AF

#6047AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.1% C 0.159 H 290.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6047AF
RGBrgb(96, 71, 175)
HSLhsl(254, 42%, 48%)
HSVhsv(254, 59%, 69%)
CMYKcmyk(45.1%, 59.4%, 0%, 31.4%)
CIE-LABlab(38.00, 36.32, -52.16)
CIE-LCHlch(38.00, 63.55, 304.85°)
OKLaboklab(48.08% 0.0548 -0.1488)
OKLCHoklch(48.08% 0.159 290.2)
XYZxyz(14.8128, 10.0879, 41.7158)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047AF #96AF47
analogous
#4762AF #6047AF #9447AF
triadic
#6047AF #AF6047 #47AF60
tetradic
#6047AF #AF4762 #96AF47 #47AF94
square
#6047AF #AF4762 #96AF47 #47AF94
split-complementary
#6047AF #AF9447 #62AF47
monochromatic
#302458 #483583 #6047AF #836FC4 #A99AD6

Accessibility & contrast

On white

6.96
#6047AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6047AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6047AF#FFFFFF#000000##FFFFFF
##6047AF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#485E74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6047af;
/* rgb */ color: rgb(96, 71, 175);
/* oklch */ color: oklch(48.1% 0.159 290.2);
Tailwind
colors: {
  custom: {
    50: '#937bc8',
    500: '#6047af',
    950: '#000000',
  },
}
SCSS
$custom: #6047af;
$custom-light: #937bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6047af",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 254.423,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48076,
    "c": 0.15859,
    "h": 290.2
  },
  "luminance": 0.10088
}

Semantic roles & 50–950 ramp

primary
#6047AF
secondary
#B6C28F
accent
#D256B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6047AF

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

Preview Lab → · Contrast checker → · Palette generator →

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