#4D2983#4D2983

#4D2983 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.143 H 297.5°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4D2983
RGBrgb(77, 41, 131)
HSLhsl(264, 52%, 34%)
HSVhsv(264, 69%, 51%)
CMYKcmyk(41.2%, 68.7%, 0%, 48.6%)
CIE-LABlab(26.16, 36.92, -44.62)
CIE-LCHlch(26.16, 57.91, 309.60°)
OKLaboklab(37.96% 0.0662 -0.1273)
OKLCHoklch(37.96% 0.143 297.5)
XYZxyz(7.9492, 4.8022, 21.9764)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2983 #5F8329
analogous
#293283 #4D2983 #7A2983
triadic
#4D2983 #834D29 #29834D
tetradic
#4D2983 #832932 #5F8329 #29837A
square
#4D2983 #832932 #5F8329 #29837A
split-complementary
#4D2983 #837A29 #328329
monochromatic
#160C26 #321A54 #4D2983 #6838B2 #885BCC

Accessibility & contrast

On white

10.71
#4D2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4D2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2983
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2983#FFFFFF#000000##FFFFFF
##4D29831.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#403E52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2983;
/* rgb */ color: rgb(77, 41, 131);
/* oklch */ color: oklch(38.0% 0.143 297.5);
Tailwind
colors: {
  custom: {
    50: '#8465a8',
    500: '#4d2983',
    950: '#000000',
  },
}
SCSS
$custom: #4d2983;
$custom-light: #8465a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2983",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 264,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3796,
    "c": 0.14346,
    "h": 297.5
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#4D2983
secondary
#8DB157
accent
#DC4CA2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2983

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

Preview Lab → · Contrast checker → · Palette generator →

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