#6047D8#6047D8

#6047D8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.3% C 0.210 H 284.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6047D8
RGBrgb(96, 71, 216)
HSLhsl(250, 65%, 56%)
HSVhsv(250, 67%, 85%)
CMYKcmyk(55.6%, 67.1%, 0%, 15.3%)
CIE-LABlab(41.14, 48.46, -70.95)
CIE-LCHlch(41.14, 85.92, 304.33°)
OKLaboklab(51.34% 0.0511 -0.204)
OKLCHoklch(51.34% 0.21 284)
XYZxyz(19.4680, 11.9500, 66.2332)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047D8 #BFD847
analogous
#4777D8 #6047D8 #A947D8
triadic
#6047D8 #D86047 #47D860
tetradic
#6047D8 #D84777 #BFD847 #47D8A9
square
#6047D8 #D84777 #BFD847 #47D8A9
split-complementary
#6047D8 #D8A947 #77D847
monochromatic
#2F1D88 #4127BA #6047D8 #8C79E3 #B7ACED

Accessibility & contrast

On white

6.19
#6047D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6047D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6047D8#FFFFFF#000000##FFFFFF
##6047D81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#266C8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6047d8;
/* rgb */ color: rgb(96, 71, 216);
/* oklch */ color: oklch(51.3% 0.210 284.0);
Tailwind
colors: {
  custom: {
    50: '#987ce5',
    500: '#6047d8',
    950: '#000000',
  },
}
SCSS
$custom: #6047d8;
$custom-light: #987ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#6047d8",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 250.345,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51337,
    "c": 0.21034,
    "h": 284
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#6047D8
secondary
#D1DBA0
accent
#E840CB
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6047D8

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

Preview Lab → · Contrast checker → · Palette generator →

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