#4E0745#4E0745

#4E0745 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.7% C 0.122 H 334.4°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#4E0745
RGBrgb(78, 7, 69)
HSLhsl(308, 84%, 17%)
HSVhsv(308, 91%, 31%)
CMYKcmyk(0%, 91%, 11.5%, 69.4%)
CIE-LABlab(16.51, 37.91, -19.32)
CIE-LCHlch(16.51, 42.55, 333.00°)
OKLaboklab(29.67% 0.1104 -0.053)
OKLCHoklch(29.67% 0.122 334.4)
XYZxyz(4.2921, 2.2017, 5.8280)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0745 #074E10
analogous
#34074E #4E0745 #4E0722
triadic
#4E0745 #454E07 #07454E
tetradic
#4E0745 #4E3407 #074E10 #07224E
square
#4E0745 #4E3407 #074E10 #07224E
split-complementary
#4E0745 #224E07 #074E34
monochromatic
#1C0319 #1C0319 #4E0745 #860C77 #BE11A8

Accessibility & contrast

On white

14.58
#4E0745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4E0745 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0745
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0745#FFFFFF#000000##FFFFFF
##4E07451.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052247
Deuteranopia (green-blind)
#222C43
Tritanopia (blue-blind)
#520F27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e0745;
/* rgb */ color: rgb(78, 7, 69);
/* oklch */ color: oklch(29.7% 0.122 334.4);
Tailwind
colors: {
  custom: {
    50: '#835279',
    500: '#4e0745',
    950: '#000000',
  },
}
SCSS
$custom: #4e0745;
$custom-light: #835279;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0745",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 69
  },
  "hsl": {
    "h": 307.606,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.12249,
    "h": 334.4
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#4E0745
secondary
#258C32
accent
#FA482E
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0745

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

Preview Lab → · Contrast checker → · Palette generator →

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