#45135A#45135A

#45135A is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.124 H 313.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#45135A
RGBrgb(69, 19, 90)
HSLhsl(282, 65%, 21%)
HSVhsv(282, 79%, 35%)
CMYKcmyk(23.3%, 78.9%, 0%, 64.7%)
CIE-LABlab(17.78, 35.71, -31.72)
CIE-LCHlch(17.78, 47.77, 318.39°)
OKLaboklab(30.71% 0.0856 -0.0895)
OKLCHoklch(30.71% 0.124 313.7)
XYZxyz(4.5323, 2.4693, 9.9088)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45135A #285A13
analogous
#22135A #45135A #5A134C
triadic
#45135A #5A4513 #135A45
tetradic
#45135A #5A2213 #285A13 #134C5A
square
#45135A #5A2213 #285A13 #134C5A
split-complementary
#45135A #4C5A13 #135A22
monochromatic
#130519 #1E0827 #45135A #6C1E8D #9228BF

Accessibility & contrast

On white

14.06
#45135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#45135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45135A
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45135A#FFFFFF#000000##FFFFFF
##45135A1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#0D2D58
Tritanopia (blue-blind)
#432335
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #45135a;
/* rgb */ color: rgb(69, 19, 90);
/* oklch */ color: oklch(30.7% 0.124 313.7);
Tailwind
colors: {
  custom: {
    50: '#7c5689',
    500: '#45135a',
    950: '#000000',
  },
}
SCSS
$custom: #45135a;
$custom-light: #7c5689;
$custom-dark: #000000;
JSON
{
  "hex": "#45135a",
  "rgb": {
    "r": 69,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 282.254,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30706,
    "c": 0.12389,
    "h": 313.7
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#45135A
secondary
#529237
accent
#E84072
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #45135A

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

Preview Lab → · Contrast checker → · Palette generator →

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