#45183F#45183F

#45183F is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.5% C 0.088 H 333.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#45183F
RGBrgb(69, 24, 63)
HSLhsl(308, 48%, 18%)
HSVhsv(308, 65%, 27%)
CMYKcmyk(0%, 65.2%, 8.7%, 72.9%)
CIE-LABlab(16.88, 27.39, -14.68)
CIE-LCHlch(16.88, 31.08, 331.82°)
OKLaboklab(29.49% 0.0787 -0.04)
OKLCHoklch(29.49% 0.088 333)
XYZxyz(3.6781, 2.2776, 4.9476)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45183F #18451E
analogous
#341845 #45183F #451828
triadic
#45183F #3F4518 #183F45
tetradic
#45183F #453418 #18451E #182845
square
#45183F #453418 #18451E #182845
split-complementary
#45183F #284518 #184534
monochromatic
#170815 #180816 #45183F #722868 #A03892

Accessibility & contrast

On white

14.43
#45183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#45183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45183F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45183F#FFFFFF#000000##FFFFFF
##45183F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172540
Deuteranopia (green-blind)
#252C3E
Tritanopia (blue-blind)
#481B29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #45183f;
/* rgb */ color: rgb(69, 24, 63);
/* oklch */ color: oklch(29.5% 0.088 333.0);
Tailwind
colors: {
  custom: {
    50: '#7a5874',
    500: '#45183f',
    950: '#000000',
  },
}
SCSS
$custom: #45183f;
$custom-light: #7a5874;
$custom-dark: #000000;
JSON
{
  "hex": "#45183f",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 308,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29487,
    "c": 0.08834,
    "h": 333
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#45183F
secondary
#3D7C45
accent
#D86250
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #45183F

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

Preview Lab → · Contrast checker → · Palette generator →

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