#6046CD#6046CD

#6046CD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.198 H 285.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6046CD
RGBrgb(96, 70, 205)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 66%, 80%)
CMYKcmyk(53.2%, 65.9%, 0%, 19.6%)
CIE-LABlab(40.04, 45.75, -66.41)
CIE-LCHlch(40.04, 80.64, 304.56°)
OKLaboklab(50.27% 0.0535 -0.1907)
OKLCHoklch(50.27% 0.198 285.7)
XYZxyz(18.0302, 11.2739, 58.9718)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046CD #B3CD46
analogous
#4670CD #6046CD #A446CD
triadic
#6046CD #CD6046 #46CD60
tetradic
#6046CD #CD4670 #B3CD46 #46CDA4
square
#6046CD #CD4670 #B3CD46 #46CDA4
split-complementary
#6046CD #CDA446 #70CD46
monochromatic
#312078 #452DA8 #6046CD #8976DA #B3A6E7

Accessibility & contrast

On white

6.45
#6046CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6046CD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046CD#FFFFFF#000000##FFFFFF
##6046CD1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#336883
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6046cd;
/* rgb */ color: rgb(96, 70, 205);
/* oklch */ color: oklch(50.3% 0.198 285.7);
Tailwind
colors: {
  custom: {
    50: '#977bdd',
    500: '#6046cd',
    950: '#000000',
  },
}
SCSS
$custom: #6046cd;
$custom-light: #977bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6046cd",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 251.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50268,
    "c": 0.19807,
    "h": 285.7
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#6046CD
secondary
#C9D49B
accent
#E147C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6046CD

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

Preview Lab → · Contrast checker → · Palette generator →

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