#4A264E#4A264E

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

Color values

HEX#4A264E
RGBrgb(74, 38, 78)
HSLhsl(294, 34%, 23%)
HSVhsv(294, 51%, 31%)
CMYKcmyk(5.1%, 51.3%, 0%, 69.4%)
CIE-LABlab(21.55, 24.13, -17.62)
CIE-LCHlch(21.55, 29.88, 323.87°)
OKLaboklab(33.37% 0.0654 -0.0485)
OKLCHoklch(33.37% 0.081 323.4)
XYZxyz(4.8922, 3.3923, 7.6033)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A264E #2A4E26
analogous
#36264E #4A264E #4E263E
triadic
#4A264E #4E4A26 #264E4A
tetradic
#4A264E #4E3626 #2A4E26 #263E4E
square
#4A264E #4E3626 #2A4E26 #263E4E
split-complementary
#4A264E #3E4E26 #264E36
monochromatic
#140A15 #231225 #4A264E #713A77 #984EA0

Accessibility & contrast

On white

12.51
#4A264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A264E
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A264E#FFFFFF#000000##FFFFFF
##4A264E1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#4B2B36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4a264e;
/* rgb */ color: rgb(74, 38, 78);
/* oklch */ color: oklch(33.4% 0.081 323.4);
Tailwind
colors: {
  custom: {
    50: '#7e627f',
    500: '#4a264e',
    950: '#000000',
  },
}
SCSS
$custom: #4a264e;
$custom-light: #7e627f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a264e",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 294,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33365,
    "c": 0.08137,
    "h": 323.4
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#4A264E
secondary
#54814F
accent
#CB5D68
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4A264E

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

Preview Lab → · Contrast checker → · Palette generator →

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