#45183E#45183E

#45183E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.4% C 0.087 H 334.0°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#45183E
RGBrgb(69, 24, 62)
HSLhsl(309, 48%, 18%)
HSVhsv(309, 65%, 27%)
CMYKcmyk(0%, 65.2%, 10.1%, 72.9%)
CIE-LABlab(16.83, 27.20, -14.06)
CIE-LCHlch(16.83, 30.62, 332.66°)
OKLaboklab(29.43% 0.0786 -0.0383)
OKLCHoklch(29.43% 0.087 334)
XYZxyz(3.6504, 2.2665, 4.8017)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45183E #18451F
analogous
#351845 #45183E #451827
triadic
#45183E #3E4518 #183E45
tetradic
#45183E #453518 #18451F #182745
square
#45183E #453518 #18451F #182745
split-complementary
#45183E #274518 #184535
monochromatic
#170814 #180815 #45183E #722867 #A03890

Accessibility & contrast

On white

14.45
#45183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#45183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45183E
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45183E#FFFFFF#000000##FFFFFF
##45183E1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253F
Deuteranopia (green-blind)
#252C3D
Tritanopia (blue-blind)
#481B28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #45183e;
/* rgb */ color: rgb(69, 24, 62);
/* oklch */ color: oklch(29.4% 0.087 334.0);
Tailwind
colors: {
  custom: {
    50: '#7a5873',
    500: '#45183e',
    950: '#000000',
  },
}
SCSS
$custom: #45183e;
$custom-light: #7a5873;
$custom-dark: #000000;
JSON
{
  "hex": "#45183e",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 309.333,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2943,
    "c": 0.08739,
    "h": 334
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#45183E
secondary
#3D7C47
accent
#D86550
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #45183E

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

Preview Lab → · Contrast checker → · Palette generator →

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