#45123F#45123F

#45123F is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.098 H 332.9°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#45123F
RGBrgb(69, 18, 63)
HSLhsl(307, 59%, 17%)
HSVhsv(307, 74%, 27%)
CMYKcmyk(0%, 73.9%, 8.7%, 72.9%)
CIE-LABlab(15.78, 30.42, -16.39)
CIE-LCHlch(15.78, 34.55, 331.68°)
OKLaboklab(28.69% 0.0875 -0.0449)
OKLCHoklch(28.69% 0.098 332.9)
XYZxyz(3.5678, 2.0570, 4.9108)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45123F #124518
analogous
#321245 #45123F #451226
triadic
#45123F #3F4512 #123F45
tetradic
#45123F #453212 #124518 #122645
square
#45123F #453212 #124518 #122645
split-complementary
#45123F #264512 #124532
monochromatic
#180616 #180616 #45123F #761F6B #A62B98

Accessibility & contrast

On white

14.88
#45123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#45123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45123F
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45123F#FFFFFF#000000##FFFFFF
##45123F1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102340
Deuteranopia (green-blind)
#222A3E
Tritanopia (blue-blind)
#481726
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #45123f;
/* rgb */ color: rgb(69, 18, 63);
/* oklch */ color: oklch(28.7% 0.098 332.9);
Tailwind
colors: {
  custom: {
    50: '#7b5574',
    500: '#45123f',
    950: '#000000',
  },
}
SCSS
$custom: #45123f;
$custom-light: #7b5574;
$custom-dark: #000000;
JSON
{
  "hex": "#45123f",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 307.059,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28686,
    "c": 0.09838,
    "h": 332.9
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#45123F
secondary
#357E3D
accent
#E25846
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #45123F

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

Preview Lab → · Contrast checker → · Palette generator →

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