#4A264B#4A264B

#4A264B is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.2% C 0.078 H 326.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#4A264B
RGBrgb(74, 38, 75)
HSLhsl(298, 33%, 22%)
HSVhsv(298, 49%, 29%)
CMYKcmyk(1.3%, 49.3%, 0%, 70.6%)
CIE-LABlab(21.40, 23.46, -15.83)
CIE-LCHlch(21.40, 28.31, 325.98°)
OKLaboklab(33.2% 0.0647 -0.0434)
OKLCHoklch(33.2% 0.078 326.2)
XYZxyz(4.7871, 3.3503, 7.0498)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A264B #274B26
analogous
#38264B #4A264B #4B263A
triadic
#4A264B #4B4A26 #264B4A
tetradic
#4A264B #4B3826 #274B26 #263A4B
square
#4A264B #4B3826 #274B26 #263A4B
split-complementary
#4A264B #3A4B26 #264B38
monochromatic
#140A14 #221122 #4A264B #723B74 #9A4F9C

Accessibility & contrast

On white

12.57
#4A264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4A264B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A264B
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A264B#FFFFFF#000000##FFFFFF
##4A264B1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23304C
Deuteranopia (green-blind)
#2D354A
Tritanopia (blue-blind)
#4C2A35
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4a264b;
/* rgb */ color: rgb(74, 38, 75);
/* oklch */ color: oklch(33.2% 0.078 326.2);
Tailwind
colors: {
  custom: {
    50: '#7d627d',
    500: '#4a264b',
    950: '#000000',
  },
}
SCSS
$custom: #4a264b;
$custom-light: #7d627d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a264b",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 298.378,
    "s": 32.743,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33198,
    "c": 0.07791,
    "h": 326.2
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#4A264B
secondary
#507E4F
accent
#C95F62
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4A264B

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

Preview Lab → · Contrast checker → · Palette generator →

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