#4D1983#4D1983

#4D1983 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.163 H 300.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#4D1983
RGBrgb(77, 25, 131)
HSLhsl(269, 68%, 31%)
HSVhsv(269, 81%, 51%)
CMYKcmyk(41.2%, 80.9%, 0%, 48.6%)
CIE-LABlab(23.38, 44.77, -49.16)
CIE-LCHlch(23.38, 66.49, 312.32°)
OKLaboklab(35.99% 0.0822 -0.1405)
OKLCHoklch(35.99% 0.163 300.3)
XYZxyz(7.5039, 3.9117, 21.8280)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1983 #4F8319
analogous
#191A83 #4D1983 #821983
triadic
#4D1983 #834D19 #19834D
tetradic
#4D1983 #83191A #4F8319 #198382
square
#4D1983 #83191A #4F8319 #198382
split-complementary
#4D1983 #838219 #1A8319
monochromatic
#11051C #2F0F50 #4D1983 #6B23B6 #8A3DDA

Accessibility & contrast

On white

11.78
#4D1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1983
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1983#FFFFFF#000000##FFFFFF
##4D19831.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#40364E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4d1983;
/* rgb */ color: rgb(77, 25, 131);
/* oklch */ color: oklch(36.0% 0.163 300.3);
Tailwind
colors: {
  custom: {
    50: '#855da8',
    500: '#4d1983',
    950: '#000000',
  },
}
SCSS
$custom: #4d1983;
$custom-light: #855da8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1983",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 269.434,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35986,
    "c": 0.1628,
    "h": 300.3
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#4D1983
secondary
#7DB741
accent
#EB3D96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4D1983

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

Preview Lab → · Contrast checker → · Palette generator →

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