#6045D0#6045D0

#6045D0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.4% C 0.203 H 285.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6045D0
RGBrgb(96, 69, 208)
HSLhsl(252, 60%, 54%)
HSVhsv(252, 67%, 82%)
CMYKcmyk(53.8%, 66.8%, 0%, 18.4%)
CIE-LABlab(40.07, 47.19, -68.08)
CIE-LCHlch(40.07, 82.84, 304.73°)
OKLaboklab(50.37% 0.054 -0.1956)
OKLCHoklch(50.37% 0.203 285.4)
XYZxyz(18.3337, 11.2961, 60.8766)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045D0 #B5D045
analogous
#456FD0 #6045D0 #A645D0
triadic
#6045D0 #D06045 #45D060
tetradic
#6045D0 #D0456F #B5D045 #45D0A6
square
#6045D0 #D0456F #B5D045 #45D0A6
split-complementary
#6045D0 #D0A645 #6FD045
monochromatic
#311F7B #452CAC #6045D0 #8A76DC #B4A7E9

Accessibility & contrast

On white

6.44
#6045D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6045D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045D0
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045D0#FFFFFF#000000##FFFFFF
##6045D01.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#306885
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6045d0;
/* rgb */ color: rgb(96, 69, 208);
/* oklch */ color: oklch(50.4% 0.203 285.4);
Tailwind
colors: {
  custom: {
    50: '#977bdf',
    500: '#6045d0',
    950: '#000000',
  },
}
SCSS
$custom: #6045d0;
$custom-light: #977bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6045d0",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 251.655,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5037,
    "c": 0.20294,
    "h": 285.4
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#6045D0
secondary
#CAD69B
accent
#E345C4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6045D0

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

Preview Lab → · Contrast checker → · Palette generator →

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