#45156D#45156D

#45156D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.142 H 304.1°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#45156D
RGBrgb(69, 21, 109)
HSLhsl(273, 68%, 25%)
HSVhsv(273, 81%, 43%)
CMYKcmyk(36.7%, 80.7%, 0%, 57.3%)
CIE-LABlab(19.66, 39.47, -41.20)
CIE-LCHlch(19.66, 57.05, 313.77°)
OKLaboklab(32.53% 0.0795 -0.1174)
OKLCHoklch(32.53% 0.142 304.1)
XYZxyz(5.4821, 2.9057, 14.7371)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45156D #3D6D15
analogous
#19156D #45156D #6D1569
triadic
#45156D #6D4515 #156D45
tetradic
#45156D #6D1915 #3D6D15 #15696D
square
#45156D #6D1915 #3D6D15 #15696D
split-complementary
#45156D #696D15 #156D19
monochromatic
#10051A #250B3A #45156D #651FA0 #8629D4

Accessibility & contrast

On white

13.28
#45156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#45156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45156D
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45156D#FFFFFF#000000##FFFFFF
##45156D1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#3D2C40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #45156d;
/* rgb */ color: rgb(69, 21, 109);
/* oklch */ color: oklch(32.5% 0.142 304.1);
Tailwind
colors: {
  custom: {
    50: '#7d5898',
    500: '#45156d',
    950: '#000000',
  },
}
SCSS
$custom: #45156d;
$custom-light: #7d5898;
$custom-dark: #000000;
JSON
{
  "hex": "#45156d",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 272.727,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3253,
    "c": 0.14181,
    "h": 304.1
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#45156D
secondary
#6AA33A
accent
#EB3D8C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #45156D

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

Preview Lab → · Contrast checker → · Palette generator →

#45156D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva