#4D2E64#4D2E64

#4D2E64 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.5% C 0.095 H 308.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#4D2E64
RGBrgb(77, 46, 100)
HSLhsl(274, 37%, 29%)
HSVhsv(274, 54%, 39%)
CMYKcmyk(23%, 54%, 0%, 60.8%)
CIE-LABlab(25.11, 25.54, -26.52)
CIE-LCHlch(25.11, 36.82, 313.92°)
OKLaboklab(36.5% 0.06 -0.0742)
OKLCHoklch(36.5% 0.095 308.9)
XYZxyz(6.3374, 4.4520, 12.5796)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E64 #45642E
analogous
#322E64 #4D2E64 #642E60
triadic
#4D2E64 #644D2E #2E644D
tetradic
#4D2E64 #64322E #45642E #2E6064
square
#4D2E64 #64322E #45642E #2E6064
split-complementary
#4D2E64 #60642E #2E6432
monochromatic
#100A15 #2D1B3A #4D2E64 #6D418E #8D5AB3

Accessibility & contrast

On white

11.11
#4D2E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4D2E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E64
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E64#FFFFFF#000000##FFFFFF
##4D2E641.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A66
Deuteranopia (green-blind)
#293C63
Tritanopia (blue-blind)
#4A3744
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2e64;
/* rgb */ color: rgb(77, 46, 100);
/* oklch */ color: oklch(36.5% 0.095 308.9);
Tailwind
colors: {
  custom: {
    50: '#806890',
    500: '#4d2e64',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e64;
$custom-light: #806890;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e64",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 100
  },
  "hsl": {
    "h": 274.444,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36504,
    "c": 0.09542,
    "h": 308.9
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#4D2E64
secondary
#729658
accent
#CD5B8B
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4D2E64

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

Preview Lab → · Contrast checker → · Palette generator →

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