#4D1A67#4D1A67

#4D1A67 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.132 H 311.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#4D1A67
RGBrgb(77, 26, 103)
HSLhsl(280, 60%, 25%)
HSVhsv(280, 75%, 40%)
CMYKcmyk(25.2%, 74.8%, 0%, 59.6%)
CIE-LABlab(21.19, 37.41, -34.75)
CIE-LCHlch(21.19, 51.06, 317.11°)
OKLaboklab(33.72% 0.0875 -0.0982)
OKLCHoklch(33.72% 0.132 311.7)
XYZxyz(5.8777, 3.2960, 13.1559)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1A67 #34671A
analogous
#261A67 #4D1A67 #671A5A
triadic
#4D1A67 #674D1A #1A674D
tetradic
#4D1A67 #67261A #34671A #1A5A67
square
#4D1A67 #67261A #34671A #1A5A67
split-complementary
#4D1A67 #5A671A #1A6726
monochromatic
#120618 #280E36 #4D1A67 #722698 #9633C9

Accessibility & contrast

On white

12.66
#4D1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4D1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1A67
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1A67#FFFFFF#000000##FFFFFF
##4D1A671.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#103465
Tritanopia (blue-blind)
#4A2B3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d1a67;
/* rgb */ color: rgb(77, 26, 103);
/* oklch */ color: oklch(33.7% 0.132 311.7);
Tailwind
colors: {
  custom: {
    50: '#825c93',
    500: '#4d1a67',
    950: '#000000',
  },
}
SCSS
$custom: #4d1a67;
$custom-light: #825c93;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1a67",
  "rgb": {
    "r": 77,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 279.74,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33716,
    "c": 0.13151,
    "h": 311.7
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#4D1A67
secondary
#5F9D40
accent
#E3457A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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