#6045D4#6045D4

#6045D4 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.7% C 0.208 H 284.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6045D4
RGBrgb(96, 69, 212)
HSLhsl(251, 62%, 55%)
HSVhsv(251, 67%, 83%)
CMYKcmyk(54.7%, 67.5%, 0%, 16.9%)
CIE-LABlab(40.40, 48.38, -69.85)
CIE-LCHlch(40.40, 84.97, 304.70°)
OKLaboklab(50.71% 0.0534 -0.2008)
OKLCHoklch(50.71% 0.208 284.9)
XYZxyz(18.8321, 11.4954, 63.5011)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045D4 #B9D445
analogous
#4571D4 #6045D4 #A845D4
triadic
#6045D4 #D46045 #45D460
tetradic
#6045D4 #D44571 #B9D445 #45D4A8
square
#6045D4 #D44571 #B9D445 #45D4A8
split-complementary
#6045D4 #D4A845 #71D445
monochromatic
#301E81 #4329B3 #6045D4 #8A77DF #B5A8EB

Accessibility & contrast

On white

6.36
#6045D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6045D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045D4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045D4#FFFFFF#000000##FFFFFF
##6045D41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#2B6A87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6045d4;
/* rgb */ color: rgb(96, 69, 212);
/* oklch */ color: oklch(50.7% 0.208 284.9);
Tailwind
colors: {
  custom: {
    50: '#987be2',
    500: '#6045d4',
    950: '#000000',
  },
}
SCSS
$custom: #6045d4;
$custom-light: #987be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6045d4",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 251.329,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50707,
    "c": 0.2078,
    "h": 284.9
  },
  "luminance": 0.11497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6045D4

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

Preview Lab → · Contrast checker → · Palette generator →

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