#6045D3#6045D3

#6045D3 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.6% C 0.207 H 285.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6045D3
RGBrgb(96, 69, 211)
HSLhsl(251, 62%, 55%)
HSVhsv(251, 67%, 83%)
CMYKcmyk(54.5%, 67.3%, 0%, 17.3%)
CIE-LABlab(40.32, 48.08, -69.41)
CIE-LCHlch(40.32, 84.44, 304.71°)
OKLaboklab(50.62% 0.0535 -0.1995)
OKLCHoklch(50.62% 0.207 285)
XYZxyz(18.7063, 11.4451, 62.8388)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045D3 #B8D345
analogous
#4571D3 #6045D3 #A745D3
triadic
#6045D3 #D36045 #45D360
tetradic
#6045D3 #D34571 #B8D345 #45D3A7
square
#6045D3 #D34571 #B8D345 #45D3A7
split-complementary
#6045D3 #D3A745 #71D345
monochromatic
#311E7F #442AB1 #6045D3 #8A76DF #B5A8EA

Accessibility & contrast

On white

6.38
#6045D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6045D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045D3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045D3#FFFFFF#000000##FFFFFF
##6045D31.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#2D6986
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6045d3;
/* rgb */ color: rgb(96, 69, 211);
/* oklch */ color: oklch(50.6% 0.207 285.0);
Tailwind
colors: {
  custom: {
    50: '#987be2',
    500: '#6045d3',
    950: '#000000',
  },
}
SCSS
$custom: #6045d3;
$custom-light: #987be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6045d3",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 251.408,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.20659,
    "h": 285
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

primary
#6045D3
secondary
#CCD89C
accent
#E543C6
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6045D3

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

Preview Lab → · Contrast checker → · Palette generator →

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