#4B1042#4B1042

#4B1042 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.7% C 0.108 H 334.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#4B1042
RGBrgb(75, 16, 66)
HSLhsl(309, 65%, 18%)
HSVhsv(309, 79%, 29%)
CMYKcmyk(0%, 78.7%, 12%, 70.6%)
CIE-LABlab(16.80, 33.57, -16.82)
CIE-LCHlch(16.80, 37.54, 333.38°)
OKLaboklab(29.7% 0.0978 -0.046)
OKLCHoklch(29.7% 0.108 334.8)
XYZxyz(4.0704, 2.2601, 5.3751)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1042 #104B19
analogous
#37104B #4B1042 #4B1024
triadic
#4B1042 #424B10 #10424B
tetradic
#4B1042 #4B3710 #104B19 #10244B
square
#4B1042 #4B3710 #104B19 #10244B
split-complementary
#4B1042 #244B10 #104B37
monochromatic
#190516 #190516 #4B1042 #7D1B6E #B0269B

Accessibility & contrast

On white

14.46
#4B1042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4B1042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1042
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1042#FFFFFF#000000##FFFFFF
##4B10421.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#242D41
Tritanopia (blue-blind)
#4F1527
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b1042;
/* rgb */ color: rgb(75, 16, 66);
/* oklch */ color: oklch(29.7% 0.108 334.8);
Tailwind
colors: {
  custom: {
    50: '#805576',
    500: '#4b1042',
    950: '#000000',
  },
}
SCSS
$custom: #4b1042;
$custom-light: #805576;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1042",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 309.153,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29698,
    "c": 0.10802,
    "h": 334.8
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#4B1042
secondary
#32853F
accent
#E85A40
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4B1042

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

Preview Lab → · Contrast checker → · Palette generator →

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