#6045CA#6045CA

#6045CA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.9% C 0.196 H 286.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#6045CA
RGBrgb(96, 69, 202)
HSLhsl(252, 56%, 53%)
HSVhsv(252, 66%, 79%)
CMYKcmyk(52.5%, 65.8%, 0%, 20.8%)
CIE-LABlab(39.59, 45.42, -65.40)
CIE-LCHlch(39.59, 79.63, 304.78°)
OKLaboklab(49.87% 0.0548 -0.1878)
OKLCHoklch(49.87% 0.196 286.3)
XYZxyz(17.6095, 11.0064, 57.0622)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045CA #AFCA45
analogous
#456CCA #6045CA #A245CA
triadic
#6045CA #CA6045 #45CA60
tetradic
#6045CA #CA456C #AFCA45 #45CAA2
square
#6045CA #CA456C #AFCA45 #45CAA2
split-complementary
#6045CA #CAA245 #6CCA45
monochromatic
#322174 #462FA3 #6045CA #8975D8 #B1A4E5

Accessibility & contrast

On white

6.56
#6045CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6045CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045CA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045CA#FFFFFF#000000##FFFFFF
##6045CA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#366681
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6045ca;
/* rgb */ color: rgb(96, 69, 202);
/* oklch */ color: oklch(49.9% 0.196 286.3);
Tailwind
colors: {
  custom: {
    50: '#967adb',
    500: '#6045ca',
    950: '#000000',
  },
}
SCSS
$custom: #6045ca;
$custom-light: #967adb;
$custom-dark: #000000;
JSON
{
  "hex": "#6045ca",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 252.18,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.19558,
    "h": 286.3
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#6045CA
secondary
#C6D299
accent
#DF49C0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6045CA

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

Preview Lab → · Contrast checker → · Palette generator →

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