#6045CE#6045CE

#6045CE is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.2% C 0.201 H 285.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6045CE
RGBrgb(96, 69, 206)
HSLhsl(252, 58%, 54%)
HSVhsv(252, 67%, 81%)
CMYKcmyk(53.4%, 66.5%, 0%, 19.2%)
CIE-LABlab(39.91, 46.60, -67.19)
CIE-LCHlch(39.91, 81.77, 304.74°)
OKLaboklab(50.2% 0.0542 -0.193)
OKLCHoklch(50.2% 0.201 285.7)
XYZxyz(18.0892, 11.1983, 59.5889)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045CE #B3CE45
analogous
#456FCE #6045CE #A545CE
triadic
#6045CE #CE6045 #45CE60
tetradic
#6045CE #CE456F #B3CE45 #45CEA5
square
#6045CE #CE456F #B3CE45 #45CEA5
split-complementary
#6045CE #CEA545 #6FCE45
monochromatic
#312079 #452DA9 #6045CE #8975DB #B3A6E8

Accessibility & contrast

On white

6.48
#6045CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6045CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045CE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045CE#FFFFFF#000000##FFFFFF
##6045CE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6045ce;
/* rgb */ color: rgb(96, 69, 206);
/* oklch */ color: oklch(50.2% 0.201 285.7);
Tailwind
colors: {
  custom: {
    50: '#977ade',
    500: '#6045ce',
    950: '#000000',
  },
}
SCSS
$custom: #6045ce;
$custom-light: #977ade;
$custom-dark: #000000;
JSON
{
  "hex": "#6045ce",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 251.825,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.2005,
    "h": 285.7
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#6045CE
secondary
#C9D59A
accent
#E246C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6045CE

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

Preview Lab → · Contrast checker → · Palette generator →

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