#6046D1#6046D1

#6046D1 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.6% C 0.203 H 285.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6046D1
RGBrgb(96, 70, 209)
HSLhsl(251, 60%, 55%)
HSVhsv(251, 67%, 82%)
CMYKcmyk(54.1%, 66.5%, 0%, 18%)
CIE-LABlab(40.36, 46.93, -68.19)
CIE-LCHlch(40.36, 82.78, 304.54°)
OKLaboklab(50.6% 0.0529 -0.196)
OKLCHoklch(50.6% 0.203 285.1)
XYZxyz(18.5192, 11.4695, 61.5472)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046D1 #B7D146
analogous
#4672D1 #6046D1 #A646D1
triadic
#6046D1 #D16046 #46D160
tetradic
#6046D1 #D14672 #B7D146 #46D1A6
square
#6046D1 #D14672 #B7D146 #46D1A6
split-complementary
#6046D1 #D1A646 #72D146
monochromatic
#311F7D #442BAE #6046D1 #8A77DD #B4A8E9

Accessibility & contrast

On white

6.37
#6046D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6046D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046D1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046D1#FFFFFF#000000##FFFFFF
##6046D11.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#005BCE
Tritanopia (blue-blind)
#2F6986
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6046d1;
/* rgb */ color: rgb(96, 70, 209);
/* oklch */ color: oklch(50.6% 0.203 285.1);
Tailwind
colors: {
  custom: {
    50: '#977be0',
    500: '#6046d1',
    950: '#000000',
  },
}
SCSS
$custom: #6046d1;
$custom-light: #977be0;
$custom-dark: #000000;
JSON
{
  "hex": "#6046d1",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 251.223,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50601,
    "c": 0.20298,
    "h": 285.1
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#6046D1
secondary
#CCD79C
accent
#E344C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6046D1

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

Preview Lab → · Contrast checker → · Palette generator →

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