#450842#450842

#450842 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.114 H 330.4°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#450842
RGBrgb(69, 8, 66)
HSLhsl(303, 79%, 15%)
HSVhsv(303, 88%, 27%)
CMYKcmyk(0%, 88.4%, 4.3%, 72.9%)
CIE-LABlab(14.58, 34.91, -20.39)
CIE-LCHlch(14.58, 40.43, 329.71°)
OKLaboklab(27.88% 0.0991 -0.0564)
OKLCHoklch(27.88% 0.114 330.4)
XYZxyz(3.5244, 1.8325, 5.3213)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#450842 #08450B
analogous
#2A0845 #450842 #450823
triadic
#450842 #424508 #084245
tetradic
#450842 #452A08 #08450B #082345
square
#450842 #452A08 #08450B #082345
split-complementary
#450842 #234508 #08452A
monochromatic
#1B031A #1B031A #450842 #7C0E76 #B315AB

Accessibility & contrast

On white

15.37
#450842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#450842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #450842
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##450842#FFFFFF#000000##FFFFFF
##4508421.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022044
Deuteranopia (green-blind)
#1C2841
Tritanopia (blue-blind)
#481125
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #450842;
/* rgb */ color: rgb(69, 8, 66);
/* oklch */ color: oklch(27.9% 0.114 330.4);
Tailwind
colors: {
  custom: {
    50: '#7b5176',
    500: '#450842',
    950: '#000000',
  },
}
SCSS
$custom: #450842;
$custom-light: #7b5176;
$custom-dark: #000000;
JSON
{
  "hex": "#450842",
  "rgb": {
    "r": 69,
    "g": 8,
    "b": 66
  },
  "hsl": {
    "h": 302.951,
    "s": 79.221,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27882,
    "c": 0.11401,
    "h": 330.4
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#450842
secondary
#26832A
accent
#F63C32
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #450842

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

Preview Lab → · Contrast checker → · Palette generator →

#450842 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva