#45146F#45146F

#45146F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.145 H 303.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#45146F
RGBrgb(69, 20, 111)
HSLhsl(272, 69%, 26%)
HSVhsv(272, 82%, 44%)
CMYKcmyk(37.8%, 82%, 0%, 56.5%)
CIE-LABlab(19.69, 40.40, -42.45)
CIE-LCHlch(19.69, 58.60, 313.58°)
OKLaboklab(32.61% 0.0799 -0.1211)
OKLCHoklch(32.61% 0.145 303.4)
XYZxyz(5.5730, 2.9132, 15.3046)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45146F #3E6F14
analogous
#18146F #45146F #6F146B
triadic
#45146F #6F4514 #146F45
tetradic
#45146F #6F1814 #3E6F14 #146B6F
square
#45146F #6F1814 #3E6F14 #146B6F
split-complementary
#45146F #6B6F14 #146F18
monochromatic
#10051A #250B3B #45146F #651DA3 #8527D7

Accessibility & contrast

On white

13.27
#45146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#45146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45146F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45146F#FFFFFF#000000##FFFFFF
##45146F1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#3C2C41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #45146f;
/* rgb */ color: rgb(69, 20, 111);
/* oklch */ color: oklch(32.6% 0.145 303.4);
Tailwind
colors: {
  custom: {
    50: '#7e5899',
    500: '#45146f',
    950: '#000000',
  },
}
SCSS
$custom: #45146f;
$custom-light: #7e5899;
$custom-dark: #000000;
JSON
{
  "hex": "#45146f",
  "rgb": {
    "r": 69,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 272.308,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32607,
    "c": 0.14506,
    "h": 303.4
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#45146F
secondary
#6BA639
accent
#EC3C8D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #45146F

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

Preview Lab → · Contrast checker → · Palette generator →

#45146F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva