#6047DA#6047DA

#6047DA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.5% C 0.213 H 283.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6047DA
RGBrgb(96, 71, 218)
HSLhsl(250, 67%, 57%)
HSVhsv(250, 67%, 85%)
CMYKcmyk(56%, 67.4%, 0%, 14.5%)
CIE-LABlab(41.30, 49.05, -71.82)
CIE-LCHlch(41.30, 86.98, 304.33°)
OKLaboklab(51.51% 0.0508 -0.2066)
OKLCHoklch(51.51% 0.213 283.8)
XYZxyz(19.7281, 12.0540, 67.6032)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047DA #C1DA47
analogous
#4778DA #6047DA #AA47DA
triadic
#6047DA #DA6047 #47DA60
tetradic
#6047DA #DA4778 #C1DA47 #47DAAA
square
#6047DA #DA4778 #C1DA47 #47DAAA
split-complementary
#6047DA #DAAA47 #78DA47
monochromatic
#2F1C8B #4026BE #6047DA #8C7AE4 #B8ADEE

Accessibility & contrast

On white

6.16
#6047DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6047DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047DA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047DA#FFFFFF#000000##FFFFFF
##6047DA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#236D8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6047da;
/* rgb */ color: rgb(96, 71, 218);
/* oklch */ color: oklch(51.5% 0.213 283.8);
Tailwind
colors: {
  custom: {
    50: '#997ce7',
    500: '#6047da',
    950: '#000000',
  },
}
SCSS
$custom: #6047da;
$custom-light: #997ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6047da",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 250.204,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.21277,
    "h": 283.8
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#6047DA
secondary
#D2DCA0
accent
#E93ECC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6047DA

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

Preview Lab → · Contrast checker → · Palette generator →

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