#4D265D#4D265D

#4D265D is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.7% C 0.101 H 315.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#4D265D
RGBrgb(77, 38, 93)
HSLhsl(283, 42%, 26%)
HSVhsv(283, 59%, 36%)
CMYKcmyk(17.2%, 59.1%, 0%, 63.5%)
CIE-LABlab(22.84, 28.62, -25.54)
CIE-LCHlch(22.84, 38.36, 318.25°)
OKLaboklab(34.69% 0.0716 -0.0713)
OKLCHoklch(34.69% 0.101 315.1)
XYZxyz(5.7292, 3.7545, 10.7767)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D265D #365D26
analogous
#31265D #4D265D #5D2651
triadic
#4D265D #5D4D26 #265D4D
tetradic
#4D265D #5D3126 #365D26 #26515D
square
#4D265D #5D3126 #365D26 #26515D
split-complementary
#4D265D #515D26 #265D31
monochromatic
#120916 #291432 #4D265D #713888 #954AB4

Accessibility & contrast

On white

11.99
#4D265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4D265D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D265D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D265D#FFFFFF#000000##FFFFFF
##4D265D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345F
Deuteranopia (green-blind)
#26385C
Tritanopia (blue-blind)
#4C2F3D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4d265d;
/* rgb */ color: rgb(77, 38, 93);
/* oklch */ color: oklch(34.7% 0.101 315.1);
Tailwind
colors: {
  custom: {
    50: '#80628b',
    500: '#4d265d',
    950: '#000000',
  },
}
SCSS
$custom: #4d265d;
$custom-light: #80628b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d265d",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 282.545,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34691,
    "c": 0.10107,
    "h": 315.1
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#4D265D
secondary
#62904F
accent
#D2567A
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4D265D

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

Preview Lab → · Contrast checker → · Palette generator →

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