#4D296F#4D296F

#4D296F is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.4% C 0.118 H 304.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4D296F
RGBrgb(77, 41, 111)
HSLhsl(271, 46%, 30%)
HSVhsv(271, 63%, 44%)
CMYKcmyk(30.6%, 63.1%, 0%, 56.5%)
CIE-LABlab(24.68, 31.45, -34.33)
CIE-LCHlch(24.68, 46.56, 312.49°)
OKLaboklab(36.41% 0.0678 -0.097)
OKLCHoklch(36.41% 0.118 304.9)
XYZxyz(6.7221, 4.3114, 15.5139)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D296F #4B6F29
analogous
#2A296F #4D296F #6F296E
triadic
#4D296F #6F4D29 #296F4D
tetradic
#4D296F #6F2A29 #4B6F29 #296E6F
square
#4D296F #6F2A29 #4B6F29 #296E6F
split-complementary
#4D296F #6E6F29 #296F2A
monochromatic
#100816 #2E1842 #4D296F #6C3A9C #8B53BF

Accessibility & contrast

On white

11.28
#4D296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4D296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D296F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D296F#FFFFFF#000000##FFFFFF
##4D296F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073A71
Deuteranopia (green-blind)
#1A3B6D
Tritanopia (blue-blind)
#473748
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d296f;
/* rgb */ color: rgb(77, 41, 111);
/* oklch */ color: oklch(36.4% 0.118 304.9);
Tailwind
colors: {
  custom: {
    50: '#816599',
    500: '#4d296f',
    950: '#000000',
  },
}
SCSS
$custom: #4d296f;
$custom-light: #816599;
$custom-dark: #000000;
JSON
{
  "hex": "#4d296f",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 270.857,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36411,
    "c": 0.11837,
    "h": 304.9
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#4D296F
secondary
#79A153
accent
#D65292
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4D296F

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

Preview Lab → · Contrast checker → · Palette generator →

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