#6047D3#6047D3

#6047D3 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 50.9% C 0.204 H 284.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6047D3
RGBrgb(96, 71, 211)
HSLhsl(251, 61%, 55%)
HSVhsv(251, 66%, 83%)
CMYKcmyk(54.5%, 66.4%, 0%, 17.3%)
CIE-LABlab(40.73, 46.97, -68.75)
CIE-LCHlch(40.73, 83.26, 304.34°)
OKLaboklab(50.92% 0.0518 -0.1976)
OKLCHoklch(50.92% 0.204 284.7)
XYZxyz(18.8314, 11.6953, 62.8805)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047D3 #BAD347
analogous
#4774D3 #6047D3 #A647D3
triadic
#6047D3 #D36047 #47D360
tetradic
#6047D3 #D34774 #BAD347 #47D3A6
square
#6047D3 #D34774 #BAD347 #47D3A6
split-complementary
#6047D3 #D3A647 #74D347
monochromatic
#301F81 #432BB2 #6047D3 #8B78DF #B5AAEB

Accessibility & contrast

On white

6.29
#6047D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6047D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6047D3#FFFFFF#000000##FFFFFF
##6047D31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#2C6B87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6047d3;
/* rgb */ color: rgb(96, 71, 211);
/* oklch */ color: oklch(50.9% 0.204 284.7);
Tailwind
colors: {
  custom: {
    50: '#987ce2',
    500: '#6047d3',
    950: '#000000',
  },
}
SCSS
$custom: #6047d3;
$custom-light: #987ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#6047d3",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 250.714,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.20425,
    "h": 284.7
  },
  "luminance": 0.11696
}

Semantic roles & 50–950 ramp

primary
#6047D3
secondary
#CED89E
accent
#E543C8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0915
muted
#7E7B84

Preview Lab

Preview with #6047D3

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

Preview Lab → · Contrast checker → · Palette generator →

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