#4D2D64#4D2D64

#4D2D64 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.3% C 0.097 H 309.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4D2D64
RGBrgb(77, 45, 100)
HSLhsl(275, 38%, 28%)
HSVhsv(275, 55%, 39%)
CMYKcmyk(23%, 55%, 0%, 60.8%)
CIE-LABlab(24.87, 26.16, -26.90)
CIE-LCHlch(24.87, 37.53, 314.20°)
OKLaboklab(36.33% 0.0615 -0.0753)
OKLCHoklch(36.33% 0.097 309.2)
XYZxyz(6.2988, 4.3747, 12.5667)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D64 #44642D
analogous
#312D64 #4D2D64 #642D5F
triadic
#4D2D64 #644D2D #2D644D
tetradic
#4D2D64 #64312D #44642D #2D5F64
square
#4D2D64 #64312D #44642D #2D5F64
split-complementary
#4D2D64 #5F642D #2D6431
monochromatic
#100915 #2C1A3A #4D2D64 #6D408E #8D58B4

Accessibility & contrast

On white

11.20
#4D2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4D2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2D64
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D64#FFFFFF#000000##FFFFFF
##4D2D641.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A66
Deuteranopia (green-blind)
#283C63
Tritanopia (blue-blind)
#4A3644
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d2d64;
/* rgb */ color: rgb(77, 45, 100);
/* oklch */ color: oklch(36.3% 0.097 309.2);
Tailwind
colors: {
  custom: {
    50: '#806790',
    500: '#4d2d64',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d64;
$custom-light: #806790;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d64",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 274.909,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36327,
    "c": 0.09724,
    "h": 309.2
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#4D2D64
secondary
#719657
accent
#CE5A8A
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4D2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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