#4E1946#4E1946

#4E1946 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.5% C 0.100 H 334.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#4E1946
RGBrgb(78, 25, 70)
HSLhsl(309, 51%, 20%)
HSVhsv(309, 68%, 31%)
CMYKcmyk(0%, 67.9%, 10.3%, 69.4%)
CIE-LABlab(19.05, 31.09, -16.04)
CIE-LCHlch(19.05, 34.98, 332.72°)
OKLaboklab(31.51% 0.0899 -0.0437)
OKLCHoklch(31.51% 0.1 334.1)
XYZxyz(4.5950, 2.7575, 6.0834)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1946 #194E21
analogous
#3C194E #4E1946 #4E192B
triadic
#4E1946 #464E19 #19464E
tetradic
#4E1946 #4E3C19 #194E21 #192B4E
square
#4E1946 #4E3C19 #194E21 #192B4E
split-complementary
#4E1946 #2B4E19 #194E3C
monochromatic
#170715 #200A1C #4E1946 #7C2870 #AB3799

Accessibility & contrast

On white

13.54
#4E1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1946
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1946#FFFFFF#000000##FFFFFF
##4E19461.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182947
Deuteranopia (green-blind)
#293145
Tritanopia (blue-blind)
#521D2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1946;
/* rgb */ color: rgb(78, 25, 70);
/* oklch */ color: oklch(31.5% 0.100 334.1);
Tailwind
colors: {
  custom: {
    50: '#825a79',
    500: '#4e1946',
    950: '#000000',
  },
}
SCSS
$custom: #4e1946;
$custom-light: #825a79;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1946",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 309.057,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31513,
    "c": 0.10001,
    "h": 334.1
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#4E1946
secondary
#3E8449
accent
#DB624D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1946

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

Preview Lab → · Contrast checker → · Palette generator →

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