#4A1850#4A1850

#4A1850 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.3% C 0.109 H 323.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#4A1850
RGBrgb(74, 24, 80)
HSLhsl(294, 54%, 20%)
HSVhsv(294, 70%, 31%)
CMYKcmyk(7.5%, 70%, 0%, 68.6%)
CIE-LABlab(18.75, 32.40, -23.38)
CIE-LCHlch(18.75, 39.96, 324.19°)
OKLaboklab(31.35% 0.0871 -0.065)
OKLCHoklch(31.35% 0.109 323.3)
XYZxyz(4.5985, 2.6886, 7.8646)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1850 #1E5018
analogous
#2E1850 #4A1850 #50183A
triadic
#4A1850 #504A18 #18504A
tetradic
#4A1850 #502E18 #1E5018 #183A50
square
#4A1850 #502E18 #1E5018 #183A50
split-complementary
#4A1850 #3A5018 #18502E
monochromatic
#160718 #1E0A21 #4A1850 #76267F #A134AE

Accessibility & contrast

On white

13.66
#4A1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4A1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1850
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1850#FFFFFF#000000##FFFFFF
##4A18501.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2A52
Deuteranopia (green-blind)
#20304F
Tritanopia (blue-blind)
#4B2131
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a1850;
/* rgb */ color: rgb(74, 24, 80);
/* oklch */ color: oklch(31.3% 0.109 323.3);
Tailwind
colors: {
  custom: {
    50: '#7f5981',
    500: '#4a1850',
    950: '#000000',
  },
}
SCSS
$custom: #4a1850;
$custom-light: #7f5981;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1850",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 293.571,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31349,
    "c": 0.10869,
    "h": 323.3
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#4A1850
secondary
#45873D
accent
#DD4B5A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4A1850

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

Preview Lab → · Contrast checker → · Palette generator →

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