#45136E#45136E

#45136E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.145 H 304.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#45136E
RGBrgb(69, 19, 110)
HSLhsl(273, 71%, 25%)
HSVhsv(273, 83%, 43%)
CMYKcmyk(37.3%, 82.7%, 0%, 56.9%)
CIE-LABlab(19.46, 40.56, -42.18)
CIE-LCHlch(19.46, 58.51, 313.88°)
OKLaboklab(32.42% 0.0811 -0.1203)
OKLCHoklch(32.42% 0.145 304)
XYZxyz(5.5009, 2.8568, 15.0104)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45136E #3C6E13
analogous
#17136E #45136E #6E1369
triadic
#45136E #6E4513 #136E45
tetradic
#45136E #6E1713 #3C6E13 #13696E
square
#45136E #6E1713 #3C6E13 #13696E
split-complementary
#45136E #696E13 #136E17
monochromatic
#10051A #240A3A #45136E #661CA2 #8625D6

Accessibility & contrast

On white

13.36
#45136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#45136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45136E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45136E#FFFFFF#000000##FFFFFF
##45136E1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#3D2B41
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #45136e;
/* rgb */ color: rgb(69, 19, 110);
/* oklch */ color: oklch(32.4% 0.145 304.0);
Tailwind
colors: {
  custom: {
    50: '#7d5898',
    500: '#45136e',
    950: '#000000',
  },
}
SCSS
$custom: #45136e;
$custom-light: #7d5898;
$custom-dark: #000000;
JSON
{
  "hex": "#45136e",
  "rgb": {
    "r": 69,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 272.967,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32417,
    "c": 0.14504,
    "h": 304
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#45136E
secondary
#69A538
accent
#ED3A8B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #45136E

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

Preview Lab → · Contrast checker → · Palette generator →

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