#6046D8#6046D8

#6046D8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.2% C 0.211 H 284.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6046D8
RGBrgb(96, 70, 216)
HSLhsl(251, 65%, 56%)
HSVhsv(251, 68%, 85%)
CMYKcmyk(55.6%, 67.6%, 0%, 15.3%)
CIE-LABlab(40.93, 49.01, -71.28)
CIE-LCHlch(40.93, 86.50, 304.51°)
OKLaboklab(51.19% 0.0519 -0.205)
OKLCHoklch(51.19% 0.211 284.2)
XYZxyz(19.4049, 11.8238, 66.2121)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046D8 #BED846
analogous
#4675D8 #6046D8 #A946D8
triadic
#6046D8 #D86046 #46D860
tetradic
#6046D8 #D84675 #BED846 #46D8A9
square
#6046D8 #D84675 #BED846 #46D8A9
split-complementary
#6046D8 #D8A946 #75D846
monochromatic
#2F1C87 #4127BA #6046D8 #8B79E3 #B7ABED

Accessibility & contrast

On white

6.24
#6046D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6046D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046D8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046D8#FFFFFF#000000##FFFFFF
##6046D81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#266C89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6046d8;
/* rgb */ color: rgb(96, 70, 216);
/* oklch */ color: oklch(51.2% 0.211 284.2);
Tailwind
colors: {
  custom: {
    50: '#987be5',
    500: '#6046d8',
    950: '#000000',
  },
}
SCSS
$custom: #6046d8;
$custom-light: #987be5;
$custom-dark: #000000;
JSON
{
  "hex": "#6046d8",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 250.685,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.21149,
    "h": 284.2
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#6046D8
secondary
#D0DB9F
accent
#E840CA
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6046D8

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

Preview Lab → · Contrast checker → · Palette generator →

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