#6047CF#6047CF

#6047CF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.199 H 285.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6047CF
RGBrgb(96, 71, 207)
HSLhsl(251, 59%, 55%)
HSVhsv(251, 66%, 81%)
CMYKcmyk(53.6%, 65.7%, 0%, 18.8%)
CIE-LABlab(40.41, 45.78, -66.97)
CIE-LCHlch(40.41, 81.12, 304.36°)
OKLaboklab(50.58% 0.0523 -0.1923)
OKLCHoklch(50.58% 0.199 285.2)
XYZxyz(18.3362, 11.4973, 60.2724)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047CF #B6CF47
analogous
#4772CF #6047CF #A447CF
triadic
#6047CF #CF6047 #47CF60
tetradic
#6047CF #CF4772 #B6CF47 #47CFA4
square
#6047CF #CF4772 #B6CF47 #47CFA4
split-complementary
#6047CF #CFA447 #72CF47
monochromatic
#31207B #442DAC #6047CF #8A78DC #B4A8E8

Accessibility & contrast

On white

6.36
#6047CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6047CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047CF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047CF#FFFFFF#000000##FFFFFF
##6047CF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#316985
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6047cf;
/* rgb */ color: rgb(96, 71, 207);
/* oklch */ color: oklch(50.6% 0.199 285.2);
Tailwind
colors: {
  custom: {
    50: '#977cdf',
    500: '#6047cf',
    950: '#000000',
  },
}
SCSS
$custom: #6047cf;
$custom-light: #977cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6047cf",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 251.029,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50583,
    "c": 0.19933,
    "h": 285.2
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#6047CF
secondary
#CBD69C
accent
#E246C5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6047CF

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

Preview Lab → · Contrast checker → · Palette generator →

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