#6045BE#6045BE

#6045BE is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.181 H 288.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#6045BE
RGBrgb(96, 69, 190)
HSLhsl(253, 48%, 51%)
HSVhsv(253, 64%, 75%)
CMYKcmyk(49.5%, 63.7%, 0%, 25.5%)
CIE-LABlab(38.66, 41.89, -59.93)
CIE-LCHlch(38.66, 73.12, 304.95°)
OKLaboklab(48.9% 0.0561 -0.1717)
OKLCHoklch(48.9% 0.181 288.1)
XYZxyz(16.2436, 10.4600, 49.8683)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045BE #A3BE45
analogous
#4566BE #6045BE #9C45BE
triadic
#6045BE #BE6045 #45BE60
tetradic
#6045BE #BE4566 #A3BE45 #45BE9C
square
#6045BE #BE4566 #A3BE45 #45BE9C
split-complementary
#6045BE #BE9C45 #66BE45
monochromatic
#322365 #483393 #6045BE #8772CE #AEA0DE

Accessibility & contrast

On white

6.79
#6045BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6045BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045BE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045BE#FFFFFF#000000##FFFFFF
##6045BE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#3F627B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6045be;
/* rgb */ color: rgb(96, 69, 190);
/* oklch */ color: oklch(48.9% 0.181 288.1);
Tailwind
colors: {
  custom: {
    50: '#957ad2',
    500: '#6045be',
    950: '#000000',
  },
}
SCSS
$custom: #6045be;
$custom-light: #957ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6045be",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 253.388,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.18061,
    "h": 288.1
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#6045BE
secondary
#BECA95
accent
#D850B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6045BE

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

Preview Lab → · Contrast checker → · Palette generator →

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