#4A264D#4A264D

#4A264D is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.3% C 0.080 H 324.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#4A264D
RGBrgb(74, 38, 77)
HSLhsl(295, 34%, 23%)
HSVhsv(295, 51%, 30%)
CMYKcmyk(3.9%, 50.6%, 0%, 69.8%)
CIE-LABlab(21.50, 23.91, -17.02)
CIE-LCHlch(21.50, 29.35, 324.55°)
OKLaboklab(33.31% 0.0652 -0.0468)
OKLCHoklch(33.31% 0.08 324.3)
XYZxyz(4.8566, 3.3781, 7.4160)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A264D #294D26
analogous
#37264D #4A264D #4D263C
triadic
#4A264D #4D4A26 #264D4A
tetradic
#4A264D #4D3726 #294D26 #263C4D
square
#4A264D #4D3726 #294D26 #263C4D
split-complementary
#4A264D #3C4D26 #264D37
monochromatic
#140A14 #231224 #4A264D #713A76 #994E9F

Accessibility & contrast

On white

12.53
#4A264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A264D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A264D#FFFFFF#000000##FFFFFF
##4A264D1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314E
Deuteranopia (green-blind)
#2C354C
Tritanopia (blue-blind)
#4B2A36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4a264d;
/* rgb */ color: rgb(74, 38, 77);
/* oklch */ color: oklch(33.3% 0.080 324.3);
Tailwind
colors: {
  custom: {
    50: '#7e627f',
    500: '#4a264d',
    950: '#000000',
  },
}
SCSS
$custom: #4a264d;
$custom-light: #7e627f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a264d",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 295.385,
    "s": 33.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33309,
    "c": 0.08021,
    "h": 324.3
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#4A264D
secondary
#53804F
accent
#CA5E66
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4A264D

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

Preview Lab → · Contrast checker → · Palette generator →

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