#45136B#45136B

#45136B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.142 H 305.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#45136B
RGBrgb(69, 19, 107)
HSLhsl(274, 70%, 25%)
HSVhsv(274, 82%, 42%)
CMYKcmyk(35.5%, 82.2%, 0%, 58%)
CIE-LABlab(19.19, 39.81, -40.66)
CIE-LCHlch(19.19, 56.91, 314.39°)
OKLaboklab(32.15% 0.0819 -0.1158)
OKLCHoklch(32.15% 0.142 305.3)
XYZxyz(5.3404, 2.7925, 14.1647)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45136B #396B13
analogous
#19136B #45136B #6B1365
triadic
#45136B #6B4513 #136B45
tetradic
#45136B #6B1913 #396B13 #13656B
square
#45136B #6B1913 #396B13 #13656B
split-complementary
#45136B #656B13 #136B19
monochromatic
#11051A #230A37 #45136B #671C9F #8825D3

Accessibility & contrast

On white

13.48
#45136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#45136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45136B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45136B#FFFFFF#000000##FFFFFF
##45136B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45136b;
/* rgb */ color: rgb(69, 19, 107);
/* oklch */ color: oklch(32.1% 0.142 305.3);
Tailwind
colors: {
  custom: {
    50: '#7d5796',
    500: '#45136b',
    950: '#000000',
  },
}
SCSS
$custom: #45136b;
$custom-light: #7d5796;
$custom-dark: #000000;
JSON
{
  "hex": "#45136b",
  "rgb": {
    "r": 69,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 274.091,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32146,
    "c": 0.14185,
    "h": 305.3
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#45136B
secondary
#66A238
accent
#ED3B88
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #45136B

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

Preview Lab → · Contrast checker → · Palette generator →

#45136B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva