#6046D9#6046D9

#6046D9 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.3% C 0.213 H 284.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6046D9
RGBrgb(96, 70, 217)
HSLhsl(251, 66%, 56%)
HSVhsv(251, 68%, 85%)
CMYKcmyk(55.8%, 67.7%, 0%, 14.9%)
CIE-LABlab(41.02, 49.30, -71.72)
CIE-LCHlch(41.02, 87.03, 304.51°)
OKLaboklab(51.28% 0.0518 -0.2063)
OKLCHoklch(51.28% 0.213 284.1)
XYZxyz(19.5346, 11.8757, 66.8951)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046D9 #BFD946
analogous
#4676D9 #6046D9 #AA46D9
triadic
#6046D9 #D96046 #46D960
tetradic
#6046D9 #D94676 #BFD946 #46D9AA
square
#6046D9 #D94676 #BFD946 #46D9AA
split-complementary
#6046D9 #D9AA46 #76D946
monochromatic
#2F1C89 #4126BB #6046D9 #8C79E3 #B7ACEE

Accessibility & contrast

On white

6.22
#6046D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6046D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046D9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046D9#FFFFFF#000000##FFFFFF
##6046D91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#256C8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6046d9;
/* rgb */ color: rgb(96, 70, 217);
/* oklch */ color: oklch(51.3% 0.213 284.1);
Tailwind
colors: {
  custom: {
    50: '#997be6',
    500: '#6046d9',
    950: '#000000',
  },
}
SCSS
$custom: #6046d9;
$custom-light: #997be6;
$custom-dark: #000000;
JSON
{
  "hex": "#6046d9",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 250.612,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51277,
    "c": 0.2127,
    "h": 284.1
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#6046D9
secondary
#D1DC9F
accent
#E93FCB
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6046D9

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

Preview Lab → · Contrast checker → · Palette generator →

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