#4D1973#4D1973

#4D1973 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.146 H 306.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#4D1973
RGBrgb(77, 25, 115)
HSLhsl(275, 64%, 27%)
HSVhsv(275, 78%, 45%)
CMYKcmyk(33%, 78.3%, 0%, 54.9%)
CIE-LABlab(21.98, 40.77, -41.25)
CIE-LCHlch(21.98, 58.00, 314.66°)
OKLaboklab(34.58% 0.0864 -0.1173)
OKLCHoklch(34.58% 0.146 306.4)
XYZxyz(6.5020, 3.5109, 16.5515)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1973 #3F7319
analogous
#201973 #4D1973 #73196C
triadic
#4D1973 #734D19 #19734D
tetradic
#4D1973 #732019 #3F7319 #196C73
square
#4D1973 #732019 #3F7319 #196C73
split-complementary
#4D1973 #6C7319 #197320
monochromatic
#110519 #2B0E41 #4D1973 #6F24A5 #9034D3

Accessibility & contrast

On white

12.34
#4D1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4D1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1973
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1973#FFFFFF#000000##FFFFFF
##4D19731.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#462F45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4d1973;
/* rgb */ color: rgb(77, 25, 115);
/* oklch */ color: oklch(34.6% 0.146 306.4);
Tailwind
colors: {
  custom: {
    50: '#835c9c',
    500: '#4d1973',
    950: '#000000',
  },
}
SCSS
$custom: #4d1973;
$custom-light: #835c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1973",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 274.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34577,
    "c": 0.14568,
    "h": 306.4
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#4D1973
secondary
#6CA840
accent
#E74187
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1973

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

Preview Lab → · Contrast checker → · Palette generator →

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