#4F264E#4F264E

#4F264E is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.1% C 0.085 H 328.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#4F264E
RGBrgb(79, 38, 78)
HSLhsl(301, 35%, 23%)
HSVhsv(301, 52%, 31%)
CMYKcmyk(0%, 51.9%, 1.3%, 69%)
CIE-LABlab(22.30, 25.85, -16.40)
CIE-LCHlch(22.30, 30.61, 327.62°)
OKLaboklab(34.08% 0.0722 -0.0449)
OKLCHoklch(34.08% 0.085 328.1)
XYZxyz(5.2926, 3.5988, 7.6221)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F264E #264F27
analogous
#3B264F #4F264E #4F2639
triadic
#4F264E #4E4F26 #264E4F
tetradic
#4F264E #4F3B26 #264F27 #26394F
square
#4F264E #4F3B26 #264F27 #26394F
split-complementary
#4F264E #394F26 #264F3B
monochromatic
#150A14 #261225 #4F264E #783A77 #A24EA0

Accessibility & contrast

On white

12.21
#4F264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4F264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F264E
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F264E#FFFFFF#000000##FFFFFF
##4F264E1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#2F374D
Tritanopia (blue-blind)
#512A36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f264e;
/* rgb */ color: rgb(79, 38, 78);
/* oklch */ color: oklch(34.1% 0.085 328.1);
Tailwind
colors: {
  custom: {
    50: '#82627f',
    500: '#4f264e',
    950: '#000000',
  },
}
SCSS
$custom: #4f264e;
$custom-light: #82627f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f264e",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 301.463,
    "s": 35.043,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34079,
    "c": 0.08499,
    "h": 328.1
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#4F264E
secondary
#4F8250
accent
#CB5F5D
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4F264E

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

Preview Lab → · Contrast checker → · Palette generator →

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