#4A274B#4A274B

#4A274B is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.4% C 0.076 H 326.1°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#4A274B
RGBrgb(74, 39, 75)
HSLhsl(298, 32%, 22%)
HSVhsv(298, 48%, 29%)
CMYKcmyk(1.3%, 48%, 0%, 70.6%)
CIE-LABlab(21.64, 22.85, -15.46)
CIE-LCHlch(21.64, 27.59, 325.91°)
OKLaboklab(33.38% 0.063 -0.0423)
OKLCHoklch(33.38% 0.076 326.1)
XYZxyz(4.8195, 3.4151, 7.0606)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A274B #284B27
analogous
#38274B #4A274B #4B273A
triadic
#4A274B #4B4A27 #274B4A
tetradic
#4A274B #4B3827 #284B27 #273A4B
square
#4A274B #4B3827 #284B27 #273A4B
split-complementary
#4A274B #3A4B27 #274B38
monochromatic
#140A14 #221223 #4A274B #723C73 #99519C

Accessibility & contrast

On white

12.48
#4A274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4A274B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A274B
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A274B#FFFFFF#000000##FFFFFF
##4A274B1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24314C
Deuteranopia (green-blind)
#2D354A
Tritanopia (blue-blind)
#4C2B35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4a274b;
/* rgb */ color: rgb(74, 39, 75);
/* oklch */ color: oklch(33.4% 0.076 326.1);
Tailwind
colors: {
  custom: {
    50: '#7d627d',
    500: '#4a274b',
    950: '#000000',
  },
}
SCSS
$custom: #4a274b;
$custom-light: #7d627d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a274b",
  "rgb": {
    "r": 74,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 298.333,
    "s": 31.579,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33377,
    "c": 0.07589,
    "h": 326.1
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#4A274B
secondary
#517E50
accent
#C86063
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4A274B

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

Preview Lab → · Contrast checker → · Palette generator →

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