#6045B2#6045B2

#6045B2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.0% C 0.165 H 290.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6045B2
RGBrgb(96, 69, 178)
HSLhsl(255, 44%, 48%)
HSVhsv(255, 61%, 70%)
CMYKcmyk(46.1%, 61.2%, 0%, 30.2%)
CIE-LABlab(37.76, 38.37, -54.31)
CIE-LCHlch(37.76, 66.50, 305.24°)
OKLaboklab(47.97% 0.057 -0.1552)
OKLCHoklch(47.97% 0.165 290.2)
XYZxyz(14.9856, 9.9568, 43.2431)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045B2 #97B245
analogous
#4560B2 #6045B2 #9645B2
triadic
#6045B2 #B26045 #45B260
tetradic
#6045B2 #B24560 #97B245 #45B296
square
#6045B2 #B24560 #97B245 #45B296
split-complementary
#6045B2 #B29645 #60B245
monochromatic
#30235A #483486 #6045B2 #846EC7 #A99AD8

Accessibility & contrast

On white

7.02
#6045B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6045B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6045B2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045B2#FFFFFF#000000##FFFFFF
##6045B21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#475E75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6045b2;
/* rgb */ color: rgb(96, 69, 178);
/* oklch */ color: oklch(48.0% 0.165 290.2);
Tailwind
colors: {
  custom: {
    50: '#937aca',
    500: '#6045b2',
    950: '#000000',
  },
}
SCSS
$custom: #6045b2;
$custom-light: #937aca;
$custom-dark: #000000;
JSON
{
  "hex": "#6045b2",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 254.862,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47972,
    "c": 0.16529,
    "h": 290.2
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#6045B2
secondary
#B7C48F
accent
#D454B4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6045B2

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

Preview Lab → · Contrast checker → · Palette generator →

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