#4A1150#4A1150

#4A1150 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.119 H 323.8°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#4A1150
RGBrgb(74, 17, 80)
HSLhsl(294, 65%, 19%)
HSVhsv(294, 79%, 31%)
CMYKcmyk(7.5%, 78.8%, 0%, 68.6%)
CIE-LABlab(17.63, 35.56, -25.16)
CIE-LCHlch(17.63, 43.57, 324.72°)
OKLaboklab(30.54% 0.0958 -0.0702)
OKLCHoklch(30.54% 0.119 323.8)
XYZxyz(4.4723, 2.4362, 7.8225)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1150 #175011
analogous
#2B1150 #4A1150 #501137
triadic
#4A1150 #504A11 #11504A
tetradic
#4A1150 #502B11 #175011 #113750
square
#4A1150 #502B11 #175011 #113750
split-complementary
#4A1150 #375011 #11502B
monochromatic
#170519 #1B061E #4A1150 #791C82 #A726B5

Accessibility & contrast

On white

14.12
#4A1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4A1150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1150
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1150#FFFFFF#000000##FFFFFF
##4A11501.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#1C2D4E
Tritanopia (blue-blind)
#4B1C2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a1150;
/* rgb */ color: rgb(74, 17, 80);
/* oklch */ color: oklch(30.5% 0.119 323.8);
Tailwind
colors: {
  custom: {
    50: '#7f5681',
    500: '#4a1150',
    950: '#000000',
  },
}
SCSS
$custom: #4a1150;
$custom-light: #7f5681;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1150",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 294.286,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30541,
    "c": 0.11872,
    "h": 323.8
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#4A1150
secondary
#3C8933
accent
#E84050
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A1150

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

Preview Lab → · Contrast checker → · Palette generator →

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