#45175C#45175C

#45175C is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.3% C 0.121 H 312.0°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#45175C
RGBrgb(69, 23, 92)
HSLhsl(280, 60%, 23%)
HSVhsv(280, 75%, 36%)
CMYKcmyk(25%, 75%, 0%, 63.9%)
CIE-LABlab(18.59, 34.34, -31.75)
CIE-LCHlch(18.59, 46.77, 317.24°)
OKLaboklab(31.33% 0.0808 -0.0897)
OKLCHoklch(31.33% 0.121 312)
XYZxyz(4.6921, 2.6508, 10.3876)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45175C #2E5C17
analogous
#22175C #45175C #5C1750
triadic
#45175C #5C4517 #175C45
tetradic
#45175C #5C2217 #2E5C17 #17505C
square
#45175C #5C2217 #2E5C17 #17505C
split-complementary
#45175C #505C17 #175C22
monochromatic
#120618 #200B2B #45175C #6A238D #8E2FBE

Accessibility & contrast

On white

13.72
#45175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#45175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45175C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45175C#FFFFFF#000000##FFFFFF
##45175C1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#0F2E5A
Tritanopia (blue-blind)
#422637
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #45175c;
/* rgb */ color: rgb(69, 23, 92);
/* oklch */ color: oklch(31.3% 0.121 312.0);
Tailwind
colors: {
  custom: {
    50: '#7c588b',
    500: '#45175c',
    950: '#000000',
  },
}
SCSS
$custom: #45175c;
$custom-light: #7c588b;
$custom-dark: #000000;
JSON
{
  "hex": "#45175c",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3133,
    "c": 0.12068,
    "h": 312
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#45175C
secondary
#59933C
accent
#E34579
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #45175C

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

Preview Lab → · Contrast checker → · Palette generator →

#45175C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva