#6045A2#6045A2

#6045A2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.8% C 0.144 H 293.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6045A2
RGBrgb(96, 69, 162)
HSLhsl(257, 40%, 45%)
HSVhsv(257, 57%, 64%)
CMYKcmyk(40.7%, 57.4%, 0%, 36.5%)
CIE-LABlab(36.65, 33.75, -46.58)
CIE-LCHlch(36.65, 57.52, 305.92°)
OKLaboklab(46.8% 0.0574 -0.1324)
OKLCHoklch(46.8% 0.144 293.4)
XYZxyz(13.4718, 9.3513, 35.2706)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045A2 #87A245
analogous
#4559A2 #6045A2 #8E45A2
triadic
#6045A2 #A26045 #45A260
tetradic
#6045A2 #A24559 #87A245 #45A28E
square
#6045A2 #A24559 #87A245 #45A28E
split-complementary
#6045A2 #A28E45 #59A245
monochromatic
#2D204C #473377 #6045A2 #8066BE #A391D0

Accessibility & contrast

On white

7.32
#6045A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6045A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6045A2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045A2#FFFFFF#000000##FFFFFF
##6045A21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#1C55A0
Tritanopia (blue-blind)
#4F596D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6045a2;
/* rgb */ color: rgb(96, 69, 162);
/* oklch */ color: oklch(46.8% 0.144 293.4);
Tailwind
colors: {
  custom: {
    50: '#9179be',
    500: '#6045a2',
    950: '#000000',
  },
}
SCSS
$custom: #6045a2;
$custom-light: #9179be;
$custom-dark: #000000;
JSON
{
  "hex": "#6045a2",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 257.419,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46802,
    "c": 0.1443,
    "h": 293.4
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#6045A2
secondary
#ACBC87
accent
#D058AD
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #6045A2

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

Preview Lab → · Contrast checker → · Palette generator →

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