#45105F#45105F

#45105F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.133 H 311.4°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#45105F
RGBrgb(69, 16, 95)
HSLhsl(280, 71%, 22%)
HSVhsv(280, 83%, 37%)
CMYKcmyk(27.4%, 83.2%, 0%, 62.7%)
CIE-LABlab(17.75, 38.13, -35.11)
CIE-LCHlch(17.75, 51.83, 317.36°)
OKLaboklab(30.81% 0.0877 -0.0995)
OKLCHoklch(30.81% 0.133 311.4)
XYZxyz(4.7047, 2.4621, 11.0517)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45105F #2A5F10
analogous
#1E105F #45105F #5F1052
triadic
#45105F #5F4510 #105F45
tetradic
#45105F #5F1E10 #2A5F10 #10525F
square
#45105F #5F1E10 #2A5F10 #10525F
split-complementary
#45105F #525F10 #105F1E
monochromatic
#13041A #1F072B #45105F #6B1993 #9122C8

Accessibility & contrast

On white

14.07
#45105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#45105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45105F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45105F#FFFFFF#000000##FFFFFF
##45105F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#012C5D
Tritanopia (blue-blind)
#422337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #45105f;
/* rgb */ color: rgb(69, 16, 95);
/* oklch */ color: oklch(30.8% 0.133 311.4);
Tailwind
colors: {
  custom: {
    50: '#7c558d',
    500: '#45105f',
    950: '#000000',
  },
}
SCSS
$custom: #45105f;
$custom-light: #7c558d;
$custom-dark: #000000;
JSON
{
  "hex": "#45105f",
  "rgb": {
    "r": 69,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 280.253,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3081,
    "c": 0.13262,
    "h": 311.4
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#45105F
secondary
#549833
accent
#EE3A75
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45105F

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

Preview Lab → · Contrast checker → · Palette generator →

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