#4D1265#4D1265

#4D1265 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.7% C 0.139 H 313.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#4D1265
RGBrgb(77, 18, 101)
HSLhsl(283, 70%, 23%)
HSVhsv(283, 82%, 40%)
CMYKcmyk(23.8%, 82.2%, 0%, 60.4%)
CIE-LABlab(19.84, 40.36, -35.62)
CIE-LCHlch(19.84, 53.83, 318.57°)
OKLaboklab(32.71% 0.0962 -0.1007)
OKLCHoklch(32.71% 0.139 313.7)
XYZxyz(5.6254, 2.9502, 12.5825)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1265 #2A6512
analogous
#241265 #4D1265 #651253
triadic
#4D1265 #654D12 #12654D
tetradic
#4D1265 #652412 #2A6512 #125365
square
#4D1265 #652412 #2A6512 #125365
split-complementary
#4D1265 #536512 #126524
monochromatic
#14051A #250931 #4D1265 #751B99 #9C25CD

Accessibility & contrast

On white

13.21
#4D1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4D1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1265
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1265#FFFFFF#000000##FFFFFF
##4D12651.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#093163
Tritanopia (blue-blind)
#4B263B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1265;
/* rgb */ color: rgb(77, 18, 101);
/* oklch */ color: oklch(32.7% 0.139 313.7);
Tailwind
colors: {
  custom: {
    50: '#825891',
    500: '#4d1265',
    950: '#000000',
  },
}
SCSS
$custom: #4d1265;
$custom-light: #825891;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1265",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 282.651,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.13924,
    "h": 313.7
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#4D1265
secondary
#549D36
accent
#ED3B6F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1265

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

Preview Lab → · Contrast checker → · Palette generator →

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