#4D1869#4D1869

#4D1869 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.136 H 311.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#4D1869
RGBrgb(77, 24, 105)
HSLhsl(279, 63%, 25%)
HSVhsv(279, 77%, 41%)
CMYKcmyk(26.7%, 77.1%, 0%, 58.8%)
CIE-LABlab(21.02, 38.80, -36.33)
CIE-LCHlch(21.02, 53.15, 316.88°)
OKLaboklab(33.64% 0.0894 -0.1028)
OKLCHoklch(33.64% 0.136 311)
XYZxyz(5.9365, 3.2511, 13.6767)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1869 #346918
analogous
#241869 #4D1869 #69185D
triadic
#4D1869 #694D18 #18694D
tetradic
#4D1869 #692418 #346918 #185D69
square
#4D1869 #692418 #346918 #185D69
split-complementary
#4D1869 #5D6918 #186924
monochromatic
#120619 #280D37 #4D1869 #72239B #962FCD

Accessibility & contrast

On white

12.73
#4D1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4D1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1869
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1869#FFFFFF#000000##FFFFFF
##4D18691.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#0A3367
Tritanopia (blue-blind)
#492A3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d1869;
/* rgb */ color: rgb(77, 24, 105);
/* oklch */ color: oklch(33.6% 0.136 311.0);
Tailwind
colors: {
  custom: {
    50: '#825b94',
    500: '#4d1869',
    950: '#000000',
  },
}
SCSS
$custom: #4d1869;
$custom-light: #825b94;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1869",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 279.259,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33644,
    "c": 0.13625,
    "h": 311
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#4D1869
secondary
#5F9F3E
accent
#E6427B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1869

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

Preview Lab → · Contrast checker → · Palette generator →

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