#6046DC#6046DC

#6046DC is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.216 H 283.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6046DC
RGBrgb(96, 70, 220)
HSLhsl(250, 68%, 57%)
HSVhsv(250, 68%, 86%)
CMYKcmyk(56.4%, 68.2%, 0%, 13.7%)
CIE-LABlab(41.27, 50.19, -73.02)
CIE-LCHlch(41.27, 88.61, 304.50°)
OKLaboklab(51.53% 0.0513 -0.2101)
OKLCHoklch(51.53% 0.216 283.7)
XYZxyz(19.9283, 12.0332, 68.9688)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046DC #C2DC46
analogous
#4677DC #6046DC #AB46DC
triadic
#6046DC #DC6046 #46DC60
tetradic
#6046DC #DC4677 #C2DC46 #46DCAB
square
#6046DC #DC4677 #C2DC46 #46DCAB
split-complementary
#6046DC #DCAB46 #77DC46
monochromatic
#2E1B8D #3F24C0 #6046DC #8C79E6 #B8ADEF

Accessibility & contrast

On white

6.16
#6046DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6046DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046DC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046DC#FFFFFF#000000##FFFFFF
##6046DC1.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)
#0066E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#206D8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6046dc;
/* rgb */ color: rgb(96, 70, 220);
/* oklch */ color: oklch(51.5% 0.216 283.7);
Tailwind
colors: {
  custom: {
    50: '#997ce8',
    500: '#6046dc',
    950: '#000000',
  },
}
SCSS
$custom: #6046dc;
$custom-light: #997ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6046dc",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 250.4,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.2163,
    "h": 283.7
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#6046DC
secondary
#D3DDA0
accent
#EB3DCD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6046DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6046DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva