#4D2075#4D2075

#4D2075 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.139 H 304.4°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#4D2075
RGBrgb(77, 32, 117)
HSLhsl(272, 57%, 29%)
HSVhsv(272, 73%, 46%)
CMYKcmyk(34.2%, 72.6%, 0%, 54.1%)
CIE-LABlab(23.32, 37.95, -40.36)
CIE-LCHlch(23.32, 55.40, 313.23°)
OKLaboklab(35.58% 0.0785 -0.1147)
OKLCHoklch(35.58% 0.139 304.4)
XYZxyz(6.7872, 3.8952, 17.2205)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2075 #487520
analogous
#232075 #4D2075 #752073
triadic
#4D2075 #754D20 #20754D
tetradic
#4D2075 #752320 #487520 #207375
square
#4D2075 #752320 #487520 #207375
split-complementary
#4D2075 #737520 #207523
monochromatic
#100718 #2D1345 #4D2075 #6D2DA5 #8C44CC

Accessibility & contrast

On white

11.80
#4D2075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4D2075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2075
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2075#FFFFFF#000000##FFFFFF
##4D20751.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#453448
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4d2075;
/* rgb */ color: rgb(77, 32, 117);
/* oklch */ color: oklch(35.6% 0.139 304.4);
Tailwind
colors: {
  custom: {
    50: '#835f9d',
    500: '#4d2075',
    950: '#000000',
  },
}
SCSS
$custom: #4d2075;
$custom-light: #835f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2075",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 271.765,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35576,
    "c": 0.13903,
    "h": 304.4
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#4D2075
secondary
#76A848
accent
#E0478F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4D2075

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

Preview Lab → · Contrast checker → · Palette generator →

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