#4D2984#4D2984

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

Color values

HEX#4D2984
RGBrgb(77, 41, 132)
HSLhsl(264, 53%, 34%)
HSVhsv(264, 69%, 52%)
CMYKcmyk(41.7%, 68.9%, 0%, 48.2%)
CIE-LABlab(26.24, 37.20, -45.12)
CIE-LCHlch(26.24, 58.47, 309.50°)
OKLaboklab(38.04% 0.066 -0.1287)
OKLCHoklch(38.04% 0.145 297.1)
XYZxyz(8.0173, 4.8295, 22.3351)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2984 #608429
analogous
#293384 #4D2984 #7B2984
triadic
#4D2984 #844D29 #29844D
tetradic
#4D2984 #842933 #608429 #29847B
square
#4D2984 #842933 #608429 #29847B
split-complementary
#4D2984 #847B29 #338429
monochromatic
#170C27 #321A55 #4D2984 #6838B3 #885BCC

Accessibility & contrast

On white

10.68
#4D2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4D2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2984
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2984#FFFFFF#000000##FFFFFF
##4D29841.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#3F3E53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2984;
/* rgb */ color: rgb(77, 41, 132);
/* oklch */ color: oklch(38.0% 0.145 297.1);
Tailwind
colors: {
  custom: {
    50: '#8465a8',
    500: '#4d2984',
    950: '#000000',
  },
}
SCSS
$custom: #4d2984;
$custom-light: #8465a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2984",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 263.736,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38042,
    "c": 0.14469,
    "h": 297.1
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#4D2984
secondary
#8EB257
accent
#DC4CA3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2984

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

Preview Lab → · Contrast checker → · Palette generator →

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