#6045D2#6045D2

#6045D2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.5% C 0.205 H 285.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6045D2
RGBrgb(96, 69, 210)
HSLhsl(251, 61%, 55%)
HSVhsv(251, 67%, 82%)
CMYKcmyk(54.3%, 67.1%, 0%, 17.6%)
CIE-LABlab(40.24, 47.78, -68.97)
CIE-LCHlch(40.24, 83.91, 304.72°)
OKLaboklab(50.54% 0.0537 -0.1982)
OKLCHoklch(50.54% 0.205 285.2)
XYZxyz(18.5813, 11.3951, 62.1806)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045D2 #B7D245
analogous
#4571D2 #6045D2 #A645D2
triadic
#6045D2 #D26045 #45D260
tetradic
#6045D2 #D24571 #B7D245 #45D2A6
square
#6045D2 #D24571 #B7D245 #45D2A6
split-complementary
#6045D2 #D2A645 #71D245
monochromatic
#311F7E #442AAF #6045D2 #8A76DE #B4A8EA

Accessibility & contrast

On white

6.40
#6045D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6045D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045D2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045D2#FFFFFF#000000##FFFFFF
##6045D21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#2E6986
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6045d2;
/* rgb */ color: rgb(96, 69, 210);
/* oklch */ color: oklch(50.5% 0.205 285.2);
Tailwind
colors: {
  custom: {
    50: '#987be1',
    500: '#6045d2',
    950: '#000000',
  },
}
SCSS
$custom: #6045d2;
$custom-light: #987be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6045d2",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 251.489,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.20538,
    "h": 285.2
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#6045D2
secondary
#CCD79C
accent
#E444C5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6045D2

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

Preview Lab → · Contrast checker → · Palette generator →

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