#4A1950#4A1950

#4A1950 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.107 H 323.2°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#4A1950
RGBrgb(74, 25, 80)
HSLhsl(293, 52%, 21%)
HSVhsv(293, 69%, 31%)
CMYKcmyk(7.5%, 68.8%, 0%, 68.6%)
CIE-LABlab(18.93, 31.91, -23.09)
CIE-LCHlch(18.93, 39.39, 324.11°)
OKLaboklab(31.48% 0.0858 -0.0642)
OKLCHoklch(31.48% 0.107 323.2)
XYZxyz(4.6195, 2.7305, 7.8716)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1950 #1F5019
analogous
#2E1950 #4A1950 #50193A
triadic
#4A1950 #504A19 #19504A
tetradic
#4A1950 #502E19 #1F5019 #193A50
square
#4A1950 #502E19 #1F5019 #193A50
split-complementary
#4A1950 #3A5019 #19502E
monochromatic
#160717 #1F0A21 #4A1950 #75287F #A036AD

Accessibility & contrast

On white

13.58
#4A1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4A1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1950
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1950#FFFFFF#000000##FFFFFF
##4A19501.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2A52
Deuteranopia (green-blind)
#21304F
Tritanopia (blue-blind)
#4B2132
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a1950;
/* rgb */ color: rgb(74, 25, 80);
/* oklch */ color: oklch(31.5% 0.107 323.2);
Tailwind
colors: {
  custom: {
    50: '#7f5a81',
    500: '#4a1950',
    950: '#000000',
  },
}
SCSS
$custom: #4a1950;
$custom-light: #7f5a81;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1950",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 293.455,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31479,
    "c": 0.10711,
    "h": 323.2
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#4A1950
secondary
#46863E
accent
#DC4C5C
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4A1950

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

Preview Lab → · Contrast checker → · Palette generator →

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