#4A084B#4A084B

#4A084B is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.4% C 0.124 H 327.5°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4A084B
RGBrgb(74, 8, 75)
HSLhsl(299, 81%, 16%)
HSVhsv(299, 89%, 29%)
CMYKcmyk(1.3%, 89.3%, 0%, 70.6%)
CIE-LABlab(16.19, 37.73, -24.03)
CIE-LCHlch(16.19, 44.73, 327.51°)
OKLaboklab(29.41% 0.1048 -0.0668)
OKLCHoklch(29.41% 0.124 327.5)
XYZxyz(4.1808, 2.1378, 6.8477)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A084B #094B08
analogous
#29084B #4A084B #4B082B
triadic
#4A084B #4B4A08 #084B4A
tetradic
#4A084B #4B2908 #094B08 #082B4B
square
#4A084B #4B2908 #094B08 #082B4B
split-complementary
#4A084B #2B4B08 #084B29
monochromatic
#1B031C #1B031C #4A084B #810E82 #B714BA

Accessibility & contrast

On white

14.71
#4A084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A084B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A084B
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A084B#FFFFFF#000000##FFFFFF
##4A084B1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#1B2B49
Tritanopia (blue-blind)
#4C152A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a084b;
/* rgb */ color: rgb(74, 8, 75);
/* oklch */ color: oklch(29.4% 0.124 327.5);
Tailwind
colors: {
  custom: {
    50: '#7f527d',
    500: '#4a084b',
    950: '#000000',
  },
}
SCSS
$custom: #4a084b;
$custom-light: #7f527d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a084b",
  "rgb": {
    "r": 74,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 299.104,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29412,
    "c": 0.12425,
    "h": 327.5
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#4A084B
secondary
#278926
accent
#F73134
background
#F8F4F7
surface
#EFE7EE
border
#CAC3C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A084B

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

Preview Lab → · Contrast checker → · Palette generator →

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