#4A264F#4A264F

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

Color values

HEX#4A264F
RGBrgb(74, 38, 79)
HSLhsl(293, 35%, 23%)
HSVhsv(293, 52%, 31%)
CMYKcmyk(6.3%, 51.9%, 0%, 69%)
CIE-LABlab(21.60, 24.36, -18.20)
CIE-LCHlch(21.60, 30.41, 323.23°)
OKLaboklab(33.42% 0.0656 -0.0502)
OKLCHoklch(33.42% 0.083 322.6)
XYZxyz(4.9283, 3.4068, 7.7936)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A264F #2B4F26
analogous
#35264F #4A264F #4F263F
triadic
#4A264F #4F4A26 #264F4A
tetradic
#4A264F #4F3526 #2B4F26 #263F4F
square
#4A264F #4F3526 #2B4F26 #263F4F
split-complementary
#4A264F #3F4F26 #264F35
monochromatic
#130A15 #231226 #4A264F #713A78 #974EA2

Accessibility & contrast

On white

12.49
#4A264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A264F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A264F#FFFFFF#000000##FFFFFF
##4A264F1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203150
Deuteranopia (green-blind)
#2B354E
Tritanopia (blue-blind)
#4B2B36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4a264f;
/* rgb */ color: rgb(74, 38, 79);
/* oklch */ color: oklch(33.4% 0.083 322.6);
Tailwind
colors: {
  custom: {
    50: '#7e6280',
    500: '#4a264f',
    950: '#000000',
  },
}
SCSS
$custom: #4a264f;
$custom-light: #7e6280;
$custom-dark: #000000;
JSON
{
  "hex": "#4a264f",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 292.683,
    "s": 35.043,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33422,
    "c": 0.08255,
    "h": 322.6
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#4A264F
secondary
#55824F
accent
#CB5D6A
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4A264F

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

Preview Lab → · Contrast checker → · Palette generator →

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