#6045D5#6045D5

#6045D5 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.8% C 0.209 H 284.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6045D5
RGBrgb(96, 69, 213)
HSLhsl(251, 63%, 55%)
HSVhsv(251, 68%, 84%)
CMYKcmyk(54.9%, 67.6%, 0%, 16.5%)
CIE-LABlab(40.49, 48.67, -70.29)
CIE-LCHlch(40.49, 85.50, 304.70°)
OKLaboklab(50.79% 0.0532 -0.2021)
OKLCHoklch(50.79% 0.209 284.8)
XYZxyz(18.9586, 11.5460, 64.1675)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045D5 #BAD545
analogous
#4572D5 #6045D5 #A845D5
triadic
#6045D5 #D56045 #45D560
tetradic
#6045D5 #D54572 #BAD545 #45D5A8
square
#6045D5 #D54572 #BAD545 #45D5A8
split-complementary
#6045D5 #D5A845 #72D545
monochromatic
#301D82 #4329B4 #6045D5 #8B77E0 #B5A9EC

Accessibility & contrast

On white

6.35
#6045D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6045D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045D5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045D5#FFFFFF#000000##FFFFFF
##6045D51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#2A6A87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6045d5;
/* rgb */ color: rgb(96, 69, 213);
/* oklch */ color: oklch(50.8% 0.209 284.8);
Tailwind
colors: {
  custom: {
    50: '#987be3',
    500: '#6045d5',
    950: '#000000',
  },
}
SCSS
$custom: #6045d5;
$custom-light: #987be3;
$custom-dark: #000000;
JSON
{
  "hex": "#6045d5",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 251.25,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.20901,
    "h": 284.8
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#6045D5
secondary
#CED99D
accent
#E642C7
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6045D5

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

Preview Lab → · Contrast checker → · Palette generator →

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