#45156A#45156A

#45156A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.139 H 305.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#45156A
RGBrgb(69, 21, 106)
HSLhsl(274, 67%, 25%)
HSVhsv(274, 80%, 42%)
CMYKcmyk(34.9%, 80.2%, 0%, 58.4%)
CIE-LABlab(19.40, 38.71, -39.67)
CIE-LCHlch(19.40, 55.43, 314.30°)
OKLaboklab(32.27% 0.0803 -0.1129)
OKLCHoklch(32.27% 0.139 305.4)
XYZxyz(5.3233, 2.8422, 13.9010)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45156A #3A6A15
analogous
#1A156A #45156A #6A1565
triadic
#45156A #6A4515 #156A45
tetradic
#45156A #6A1A15 #3A6A15 #15656A
square
#45156A #6A1A15 #3A6A15 #15656A
split-complementary
#45156A #656A15 #156A1A
monochromatic
#11051A #240B37 #45156A #661F9D #8729D0

Accessibility & contrast

On white

13.39
#45156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#45156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45156A
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45156A#FFFFFF#000000##FFFFFF
##45156A1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#3E2A3F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #45156a;
/* rgb */ color: rgb(69, 21, 106);
/* oklch */ color: oklch(32.3% 0.139 305.4);
Tailwind
colors: {
  custom: {
    50: '#7d5895',
    500: '#45156a',
    950: '#000000',
  },
}
SCSS
$custom: #45156a;
$custom-light: #7d5895;
$custom-dark: #000000;
JSON
{
  "hex": "#45156a",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 273.882,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32265,
    "c": 0.13856,
    "h": 305.4
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#45156A
secondary
#67A13A
accent
#EA3E89
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #45156A

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

Preview Lab → · Contrast checker → · Palette generator →

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