#6047C3#6047C3

#6047C3 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.184 H 286.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6047C3
RGBrgb(96, 71, 195)
HSLhsl(252, 51%, 52%)
HSVhsv(252, 64%, 76%)
CMYKcmyk(50.8%, 63.6%, 0%, 23.5%)
CIE-LABlab(39.47, 42.21, -61.53)
CIE-LCHlch(39.47, 74.62, 304.45°)
OKLaboklab(49.61% 0.0536 -0.1764)
OKLCHoklch(49.61% 0.184 286.9)
XYZxyz(16.9245, 10.9326, 52.8376)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047C3 #AAC347
analogous
#476CC3 #6047C3 #9E47C3
triadic
#6047C3 #C36047 #47C360
tetradic
#6047C3 #C3476C #AAC347 #47C39E
square
#6047C3 #C3476C #AAC347 #47C39E
split-complementary
#6047C3 #C39E47 #6CC347
monochromatic
#32236C #47329A #6047C3 #8875D2 #B0A3E1

Accessibility & contrast

On white

6.59
#6047C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6047C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047C3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047C3#FFFFFF#000000##FFFFFF
##6047C31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#3C657E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6047c3;
/* rgb */ color: rgb(96, 71, 195);
/* oklch */ color: oklch(49.6% 0.184 286.9);
Tailwind
colors: {
  custom: {
    50: '#957bd6',
    500: '#6047c3',
    950: '#000000',
  },
}
SCSS
$custom: #6047c3;
$custom-light: #957bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#6047c3",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 195
  },
  "hsl": {
    "h": 252.097,
    "s": 50.82,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.18435,
    "h": 286.9
  },
  "luminance": 0.10933
}

Semantic roles & 50–950 ramp

primary
#6047C3
secondary
#C3CE98
accent
#DA4DBE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6047C3

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

Preview Lab → · Contrast checker → · Palette generator →

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