#45193E#45193E

#45193E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.6% C 0.086 H 334.1°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#45193E
RGBrgb(69, 25, 62)
HSLhsl(310, 47%, 18%)
HSVhsv(310, 64%, 27%)
CMYKcmyk(0%, 63.8%, 10.1%, 72.9%)
CIE-LABlab(17.03, 26.65, -13.75)
CIE-LCHlch(17.03, 29.99, 332.71°)
OKLaboklab(29.58% 0.077 -0.0374)
OKLCHoklch(29.58% 0.086 334.1)
XYZxyz(3.6714, 2.3085, 4.8087)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45193E #194520
analogous
#361945 #45193E #451928
triadic
#45193E #3E4519 #193E45
tetradic
#45193E #453619 #194520 #192845
square
#45193E #453619 #194520 #192845
split-complementary
#45193E #284519 #194536
monochromatic
#160814 #180916 #45193E #722966 #9F3A8F

Accessibility & contrast

On white

14.37
#45193E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#45193E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45193E
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45193E#FFFFFF#000000##FFFFFF
##45193E1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263F
Deuteranopia (green-blind)
#262C3D
Tritanopia (blue-blind)
#481C28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #45193e;
/* rgb */ color: rgb(69, 25, 62);
/* oklch */ color: oklch(29.6% 0.086 334.1);
Tailwind
colors: {
  custom: {
    50: '#7a5873',
    500: '#45193e',
    950: '#000000',
  },
}
SCSS
$custom: #45193e;
$custom-light: #7a5873;
$custom-dark: #000000;
JSON
{
  "hex": "#45193e",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 62
  },
  "hsl": {
    "h": 309.545,
    "s": 46.809,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29579,
    "c": 0.08558,
    "h": 334.1
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#45193E
secondary
#3E7B48
accent
#D66751
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #45193E

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

Preview Lab → · Contrast checker → · Palette generator →

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