#6047CB#6047CB

#6047CB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.194 H 285.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6047CB
RGBrgb(96, 71, 203)
HSLhsl(251, 56%, 54%)
HSVhsv(251, 65%, 80%)
CMYKcmyk(52.7%, 65%, 0%, 20.4%)
CIE-LABlab(40.09, 44.59, -65.17)
CIE-LCHlch(40.09, 78.97, 304.38°)
OKLaboklab(50.26% 0.0528 -0.1871)
OKLCHoklch(50.26% 0.194 285.7)
XYZxyz(17.8534, 11.3041, 57.7295)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047CB #B2CB47
analogous
#4770CB #6047CB #A247CB
triadic
#6047CB #CB6047 #47CB60
tetradic
#6047CB #CB4770 #B2CB47 #47CBA2
square
#6047CB #CB4770 #B2CB47 #47CBA2
split-complementary
#6047CB #CBA247 #70CB47
monochromatic
#312176 #452FA6 #6047CB #8977D8 #B2A6E6

Accessibility & contrast

On white

6.44
#6047CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6047CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047CB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047CB#FFFFFF#000000##FFFFFF
##6047CB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#356883
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6047cb;
/* rgb */ color: rgb(96, 71, 203);
/* oklch */ color: oklch(50.3% 0.194 285.7);
Tailwind
colors: {
  custom: {
    50: '#967cdc',
    500: '#6047cb',
    950: '#000000',
  },
}
SCSS
$custom: #6047cb;
$custom-light: #967cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6047cb",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 251.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.19437,
    "h": 285.7
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#6047CB
secondary
#C8D39B
accent
#DF49C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6047CB

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

Preview Lab → · Contrast checker → · Palette generator →

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