#6046CA#6046CA

#6046CA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.194 H 286.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6046CA
RGBrgb(96, 70, 202)
HSLhsl(252, 55%, 53%)
HSVhsv(252, 65%, 79%)
CMYKcmyk(52.5%, 65.3%, 0%, 20.8%)
CIE-LABlab(39.80, 44.86, -65.06)
CIE-LCHlch(39.80, 79.03, 304.59°)
OKLaboklab(50.02% 0.0538 -0.1868)
OKLCHoklch(50.02% 0.194 286.1)
XYZxyz(17.6715, 11.1305, 57.0829)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046CA #B0CA46
analogous
#466ECA #6046CA #A246CA
triadic
#6046CA #CA6046 #46CA60
tetradic
#6046CA #CA466E #B0CA46 #46CAA2
square
#6046CA #CA466E #B0CA46 #46CAA2
split-complementary
#6046CA #CAA246 #6ECA46
monochromatic
#322174 #462FA4 #6046CA #8976D8 #B2A5E5

Accessibility & contrast

On white

6.51
#6046CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6046CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046CA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046CA#FFFFFF#000000##FFFFFF
##6046CA1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#366782
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6046ca;
/* rgb */ color: rgb(96, 70, 202);
/* oklch */ color: oklch(50.0% 0.194 286.1);
Tailwind
colors: {
  custom: {
    50: '#967bdb',
    500: '#6046ca',
    950: '#000000',
  },
}
SCSS
$custom: #6046ca;
$custom-light: #967bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6046ca",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 251.818,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50021,
    "c": 0.19436,
    "h": 286.1
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#6046CA
secondary
#C7D29A
accent
#DF49C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6046CA

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

Preview Lab → · Contrast checker → · Palette generator →

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