#6045DD#6045DD

#6045DD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.219 H 283.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6045DD
RGBrgb(96, 69, 221)
HSLhsl(251, 69%, 57%)
HSVhsv(251, 69%, 87%)
CMYKcmyk(56.6%, 68.8%, 0%, 13.3%)
CIE-LABlab(41.16, 51.03, -73.78)
CIE-LCHlch(41.16, 89.71, 304.67°)
OKLaboklab(51.48% 0.052 -0.2123)
OKLCHoklch(51.48% 0.219 283.7)
XYZxyz(19.9991, 11.9623, 69.6477)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045DD #C2DD45
analogous
#4576DD #6045DD #AC45DD
triadic
#6045DD #DD6045 #45DD60
tetradic
#6045DD #DD4576 #C2DD45 #45DDAC
square
#6045DD #DD4576 #C2DD45 #45DDAC
split-complementary
#6045DD #DDAC45 #76DD45
monochromatic
#2E1A8E #3F23C1 #6045DD #8C79E6 #B8ACF0

Accessibility & contrast

On white

6.19
#6045DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6045DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045DD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045DD#FFFFFF#000000##FFFFFF
##6045DD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005CDA
Tritanopia (blue-blind)
#1E6D8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6045dd;
/* rgb */ color: rgb(96, 69, 221);
/* oklch */ color: oklch(51.5% 0.219 283.7);
Tailwind
colors: {
  custom: {
    50: '#997be9',
    500: '#6045dd',
    950: '#000000',
  },
}
SCSS
$custom: #6045dd;
$custom-light: #997be9;
$custom-dark: #000000;
JSON
{
  "hex": "#6045dd",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 250.658,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.2186,
    "h": 283.7
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#6045DD
secondary
#D3DEA0
accent
#EC3CCD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6045DD

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

Preview Lab → · Contrast checker → · Palette generator →

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