#6047CD#6047CD

#6047CD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.197 H 285.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6047CD
RGBrgb(96, 71, 205)
HSLhsl(251, 57%, 54%)
HSVhsv(251, 65%, 80%)
CMYKcmyk(53.2%, 65.4%, 0%, 19.6%)
CIE-LABlab(40.25, 45.19, -66.07)
CIE-LCHlch(40.25, 80.04, 304.37°)
OKLaboklab(50.42% 0.0525 -0.1897)
OKLCHoklch(50.42% 0.197 285.5)
XYZxyz(18.0932, 11.4001, 58.9928)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047CD #B4CD47
analogous
#4771CD #6047CD #A347CD
triadic
#6047CD #CD6047 #47CD60
tetradic
#6047CD #CD4771 #B4CD47 #47CDA3
square
#6047CD #CD4771 #B4CD47 #47CDA3
split-complementary
#6047CD #CDA347 #71CD47
monochromatic
#312179 #452EA9 #6047CD #8A77DA #B3A7E7

Accessibility & contrast

On white

6.40
#6047CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6047CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047CD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047CD#FFFFFF#000000##FFFFFF
##6047CD1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#336884
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6047cd;
/* rgb */ color: rgb(96, 71, 205);
/* oklch */ color: oklch(50.4% 0.197 285.5);
Tailwind
colors: {
  custom: {
    50: '#977cdd',
    500: '#6047cd',
    950: '#000000',
  },
}
SCSS
$custom: #6047cd;
$custom-light: #977cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6047cd",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 251.194,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50419,
    "c": 0.19685,
    "h": 285.5
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#6047CD
secondary
#CAD49B
accent
#E147C4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6047CD

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

Preview Lab → · Contrast checker → · Palette generator →

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