#6045AF#6045AF

#6045AF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.7% C 0.161 H 290.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6045AF
RGBrgb(96, 69, 175)
HSLhsl(255, 43%, 48%)
HSVhsv(255, 61%, 69%)
CMYKcmyk(45.1%, 60.6%, 0%, 31.4%)
CIE-LABlab(37.55, 37.50, -52.88)
CIE-LCHlch(37.55, 64.83, 305.34°)
OKLaboklab(47.75% 0.0571 -0.151)
OKLCHoklch(47.75% 0.161 290.7)
XYZxyz(14.6877, 9.8377, 41.6741)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045AF #94AF45
analogous
#455FAF #6045AF #9545AF
triadic
#6045AF #AF6045 #45AF60
tetradic
#6045AF #AF455F #94AF45 #45AF95
square
#6045AF #AF455F #94AF45 #45AF95
split-complementary
#6045AF #AF9545 #5FAF45
monochromatic
#302257 #483483 #6045AF #836CC5 #A898D6

Accessibility & contrast

On white

7.08
#6045AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6045AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6045AF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045AF#FFFFFF#000000##FFFFFF
##6045AF1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#485D73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6045af;
/* rgb */ color: rgb(96, 69, 175);
/* oklch */ color: oklch(47.7% 0.161 290.7);
Tailwind
colors: {
  custom: {
    50: '#937ac8',
    500: '#6045af',
    950: '#000000',
  },
}
SCSS
$custom: #6045af;
$custom-light: #937ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6045af",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 255.283,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47746,
    "c": 0.16141,
    "h": 290.7
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#6045AF
secondary
#B5C28D
accent
#D355B3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6045AF

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

Preview Lab → · Contrast checker → · Palette generator →

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