#6047D9#6047D9

#6047D9 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.4% C 0.212 H 283.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6047D9
RGBrgb(96, 71, 217)
HSLhsl(250, 66%, 56%)
HSVhsv(250, 67%, 85%)
CMYKcmyk(55.8%, 67.3%, 0%, 14.9%)
CIE-LABlab(41.22, 48.75, -71.39)
CIE-LCHlch(41.22, 86.45, 304.33°)
OKLaboklab(51.42% 0.0509 -0.2053)
OKLCHoklch(51.42% 0.212 283.9)
XYZxyz(19.5977, 12.0018, 66.9161)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047D9 #C0D947
analogous
#4777D9 #6047D9 #A947D9
triadic
#6047D9 #D96047 #47D960
tetradic
#6047D9 #D94777 #C0D947 #47D9A9
square
#6047D9 #D94777 #C0D947 #47D9A9
split-complementary
#6047D9 #D9A947 #77D947
monochromatic
#2F1C89 #4027BC #6047D9 #8C7AE3 #B8ACEE

Accessibility & contrast

On white

6.18
#6047D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6047D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6047D9#FFFFFF#000000##FFFFFF
##6047D91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#246D8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6047d9;
/* rgb */ color: rgb(96, 71, 217);
/* oklch */ color: oklch(51.4% 0.212 283.9);
Tailwind
colors: {
  custom: {
    50: '#997ce6',
    500: '#6047d9',
    950: '#000000',
  },
}
SCSS
$custom: #6047d9;
$custom-light: #997ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#6047d9",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 250.274,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.21155,
    "h": 283.9
  },
  "luminance": 0.12003
}

Semantic roles & 50–950 ramp

primary
#6047D9
secondary
#D2DCA0
accent
#E93FCC
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6047D9

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

Preview Lab → · Contrast checker → · Palette generator →

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