#4A1845#4A1845

#4A1845 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.098 H 331.8°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#4A1845
RGBrgb(74, 24, 69)
HSLhsl(306, 51%, 19%)
HSVhsv(306, 68%, 29%)
CMYKcmyk(0%, 67.6%, 6.8%, 71%)
CIE-LABlab(18.09, 30.16, -16.88)
CIE-LCHlch(18.09, 34.56, 330.76°)
OKLaboklab(30.66% 0.0862 -0.0462)
OKLCHoklch(30.66% 0.098 331.8)
XYZxyz(4.2248, 2.5391, 5.8966)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1845 #184A1D
analogous
#36184A #4A1845 #4A182C
triadic
#4A1845 #454A18 #18454A
tetradic
#4A1845 #4A3618 #184A1D #182C4A
square
#4A1845 #4A3618 #184A1D #182C4A
split-complementary
#4A1845 #2C4A18 #184A36
monochromatic
#170716 #1C091A #4A1845 #782770 #A6369B

Accessibility & contrast

On white

13.93
#4A1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4A1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1845
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1845#FFFFFF#000000##FFFFFF
##4A18451.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162846
Deuteranopia (green-blind)
#262F44
Tritanopia (blue-blind)
#4D1C2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a1845;
/* rgb */ color: rgb(74, 24, 69);
/* oklch */ color: oklch(30.7% 0.098 331.8);
Tailwind
colors: {
  custom: {
    50: '#7e5979',
    500: '#4a1845',
    950: '#000000',
  },
}
SCSS
$custom: #4a1845;
$custom-light: #7e5979;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1845",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 306,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30659,
    "c": 0.09781,
    "h": 331.8
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#4A1845
secondary
#3D8144
accent
#DA5B4D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4A1845

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

Preview Lab → · Contrast checker → · Palette generator →

#4A1845 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva