#4D296E#4D296E

#4D296E is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.3% C 0.117 H 305.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#4D296E
RGBrgb(77, 41, 110)
HSLhsl(271, 46%, 30%)
HSVhsv(271, 63%, 43%)
CMYKcmyk(30%, 62.7%, 0%, 56.9%)
CIE-LABlab(24.61, 31.18, -33.80)
CIE-LCHlch(24.61, 45.99, 312.70°)
OKLaboklab(36.34% 0.0678 -0.0955)
OKLCHoklch(36.34% 0.117 305.4)
XYZxyz(6.6674, 4.2895, 15.2255)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D296E #4A6E29
analogous
#2B296E #4D296E #6E296D
triadic
#4D296E #6E4D29 #296E4D
tetradic
#4D296E #6E2B29 #4A6E29 #296D6E
square
#4D296E #6E2B29 #4A6E29 #296D6E
split-complementary
#4D296E #6D6E29 #296E2B
monochromatic
#100816 #2E1841 #4D296E #6C3A9B #8B53BF

Accessibility & contrast

On white

11.30
#4D296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D296E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D296E#FFFFFF#000000##FFFFFF
##4D296E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093970
Deuteranopia (green-blind)
#1B3B6C
Tritanopia (blue-blind)
#473747
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d296e;
/* rgb */ color: rgb(77, 41, 110);
/* oklch */ color: oklch(36.3% 0.117 305.4);
Tailwind
colors: {
  custom: {
    50: '#816598',
    500: '#4d296e',
    950: '#000000',
  },
}
SCSS
$custom: #4d296e;
$custom-light: #816598;
$custom-dark: #000000;
JSON
{
  "hex": "#4d296e",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 271.304,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36338,
    "c": 0.11709,
    "h": 305.4
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#4D296E
secondary
#78A053
accent
#D55291
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4D296E

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

Preview Lab → · Contrast checker → · Palette generator →

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