#4A1652#4A1652

#4A1652 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.114 H 322.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#4A1652
RGBrgb(74, 22, 82)
HSLhsl(292, 58%, 20%)
HSVhsv(292, 73%, 32%)
CMYKcmyk(9.8%, 73.2%, 0%, 67.8%)
CIE-LABlab(18.54, 33.79, -25.07)
CIE-LCHlch(18.54, 42.08, 323.43°)
OKLaboklab(31.24% 0.0897 -0.0699)
OKLCHoklch(31.24% 0.114 322.1)
XYZxyz(4.6338, 2.6391, 8.2463)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1652 #1E5216
analogous
#2C1652 #4A1652 #52163C
triadic
#4A1652 #524A16 #16524A
tetradic
#4A1652 #522C16 #1E5216 #163C52
square
#4A1652 #522C16 #1E5216 #163C52
split-complementary
#4A1652 #3C5216 #16522C
monochromatic
#160618 #1E0922 #4A1652 #762382 #A130B3

Accessibility & contrast

On white

13.75
#4A1652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4A1652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1652
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1652#FFFFFF#000000##FFFFFF
##4A16521.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052954
Deuteranopia (green-blind)
#1E2F51
Tritanopia (blue-blind)
#4B2032
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a1652;
/* rgb */ color: rgb(74, 22, 82);
/* oklch */ color: oklch(31.2% 0.114 322.1);
Tailwind
colors: {
  custom: {
    50: '#7f5883',
    500: '#4a1652',
    950: '#000000',
  },
}
SCSS
$custom: #4a1652;
$custom-light: #7f5883;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1652",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 292,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31236,
    "c": 0.11377,
    "h": 322.1
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#4A1652
secondary
#45893A
accent
#E1475B
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A1652

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

Preview Lab → · Contrast checker → · Palette generator →

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