#6046CE#6046CE

#6046CE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.199 H 285.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6046CE
RGBrgb(96, 70, 206)
HSLhsl(251, 58%, 54%)
HSVhsv(251, 66%, 81%)
CMYKcmyk(53.4%, 66%, 0%, 19.2%)
CIE-LABlab(40.12, 46.05, -66.86)
CIE-LCHlch(40.12, 81.18, 304.56°)
OKLaboklab(50.35% 0.0533 -0.192)
OKLCHoklch(50.35% 0.199 285.5)
XYZxyz(18.1513, 11.3224, 59.6095)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046CE #B4CE46
analogous
#4670CE #6046CE #A446CE
triadic
#6046CE #CE6046 #46CE60
tetradic
#6046CE #CE4670 #B4CE46 #46CEA4
square
#6046CE #CE4670 #B4CE46 #46CEA4
split-complementary
#6046CE #CEA446 #70CE46
monochromatic
#312079 #452DAA #6046CE #8A76DB #B3A7E8

Accessibility & contrast

On white

6.43
#6046CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6046CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046CE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046CE#FFFFFF#000000##FFFFFF
##6046CE1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#326884
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6046ce;
/* rgb */ color: rgb(96, 70, 206);
/* oklch */ color: oklch(50.4% 0.199 285.5);
Tailwind
colors: {
  custom: {
    50: '#977bde',
    500: '#6046ce',
    950: '#000000',
  },
}
SCSS
$custom: #6046ce;
$custom-light: #977bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6046ce",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 251.471,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.1993,
    "h": 285.5
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

primary
#6046CE
secondary
#CAD59B
accent
#E146C4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6046CE

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

Preview Lab → · Contrast checker → · Palette generator →

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