#6047E6#6047E6

#6047E6 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.5% C 0.227 H 282.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6047E6
RGBrgb(96, 71, 230)
HSLhsl(249, 76%, 59%)
HSVhsv(249, 69%, 90%)
CMYKcmyk(58.3%, 69.1%, 0%, 9.8%)
CIE-LABlab(42.32, 52.61, -77.00)
CIE-LCHlch(42.32, 93.26, 304.34°)
OKLaboklab(52.54% 0.0489 -0.2218)
OKLCHoklch(52.54% 0.227 282.4)
XYZxyz(21.3556, 12.7050, 76.1745)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047E6 #CDE647
analogous
#477EE6 #6047E6 #B047E6
triadic
#6047E6 #E66047 #47E660
tetradic
#6047E6 #E6477E #CDE647 #47E6B0
square
#6047E6 #E6477E #CDE647 #47E6B0
split-complementary
#6047E6 #E6B047 #7EE647
monochromatic
#2B159D #391DD3 #6047E6 #8F7DED #BDB3F5

Accessibility & contrast

On white

5.93
#6047E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6047E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6047E6#FFFFFF#000000##FFFFFF
##6047E61.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#027191
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6047e6;
/* rgb */ color: rgb(96, 71, 230);
/* oklch */ color: oklch(52.5% 0.227 282.4);
Tailwind
colors: {
  custom: {
    50: '#9b7cef',
    500: '#6047e6',
    950: '#000000',
  },
}
SCSS
$custom: #6047e6;
$custom-light: #9b7cef;
$custom-dark: #000000;
JSON
{
  "hex": "#6047e6",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 249.434,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.22712,
    "h": 282.4
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#6047E6
secondary
#DAE4A5
accent
#F335D5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #6047E6

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

Preview Lab → · Contrast checker → · Palette generator →

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