#4D2B60#4D2B60

#4D2B60 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.7% C 0.096 H 312.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#4D2B60
RGBrgb(77, 43, 96)
HSLhsl(278, 38%, 27%)
HSVhsv(278, 55%, 38%)
CMYKcmyk(19.8%, 55.2%, 0%, 62.4%)
CIE-LABlab(24.16, 26.37, -25.42)
CIE-LCHlch(24.16, 36.63, 316.04°)
OKLaboklab(35.72% 0.0642 -0.071)
OKLCHoklch(35.72% 0.096 312.1)
XYZxyz(6.0354, 4.1502, 11.5472)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B60 #3E602B
analogous
#332B60 #4D2B60 #602B58
triadic
#4D2B60 #604D2B #2B604D
tetradic
#4D2B60 #60332B #3E602B #2B5860
square
#4D2B60 #60332B #3E602B #2B5860
split-complementary
#4D2B60 #58602B #2B6033
monochromatic
#110915 #2B1836 #4D2B60 #6F3E8A #9053B2

Accessibility & contrast

On white

11.48
#4D2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4D2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B60
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B60#FFFFFF#000000##FFFFFF
##4D2B601.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3862
Deuteranopia (green-blind)
#283A5F
Tritanopia (blue-blind)
#4B3441
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d2b60;
/* rgb */ color: rgb(77, 43, 96);
/* oklch */ color: oklch(35.7% 0.096 312.1);
Tailwind
colors: {
  custom: {
    50: '#80668d',
    500: '#4d2b60',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b60;
$custom-light: #80668d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b60",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 278.491,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35722,
    "c": 0.09572,
    "h": 312.1
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#4D2B60
secondary
#6B9255
accent
#CE5A83
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4D2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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