#6047CA#6047CA

#6047CA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.193 H 285.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6047CA
RGBrgb(96, 71, 202)
HSLhsl(251, 55%, 54%)
HSVhsv(251, 65%, 79%)
CMYKcmyk(52.5%, 64.9%, 0%, 20.8%)
CIE-LABlab(40.01, 44.29, -64.72)
CIE-LCHlch(40.01, 78.43, 304.39°)
OKLaboklab(50.17% 0.0529 -0.1857)
OKLCHoklch(50.17% 0.193 285.9)
XYZxyz(17.7346, 11.2566, 57.1039)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047CA #B1CA47
analogous
#476FCA #6047CA #A147CA
triadic
#6047CA #CA6047 #47CA60
tetradic
#6047CA #CA476F #B1CA47 #47CAA1
square
#6047CA #CA476F #B1CA47 #47CAA1
split-complementary
#6047CA #CAA147 #6FCA47
monochromatic
#322275 #462FA4 #6047CA #8977D8 #B2A6E5

Accessibility & contrast

On white

6.46
#6047CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6047CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047CA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047CA#FFFFFF#000000##FFFFFF
##6047CA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#366782
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6047ca;
/* rgb */ color: rgb(96, 71, 202);
/* oklch */ color: oklch(50.2% 0.193 285.9);
Tailwind
colors: {
  custom: {
    50: '#967cdb',
    500: '#6047ca',
    950: '#000000',
  },
}
SCSS
$custom: #6047ca;
$custom-light: #967cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6047ca",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 251.45,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.19312,
    "h": 285.9
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#6047CA
secondary
#C8D29A
accent
#DF49C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6047CA

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

Preview Lab → · Contrast checker → · Palette generator →

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