#4E0F6E#4E0F6E

#4E0F6E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.151 H 310.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#4E0F6E
RGBrgb(78, 15, 110)
HSLhsl(280, 76%, 25%)
HSVhsv(280, 86%, 43%)
CMYKcmyk(29.1%, 86.4%, 0%, 56.9%)
CIE-LABlab(20.39, 43.62, -40.60)
CIE-LCHlch(20.39, 59.59, 317.05°)
OKLaboklab(33.36% 0.098 -0.1153)
OKLCHoklch(33.36% 0.151 310.4)
XYZxyz(6.1266, 3.0873, 15.0220)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F6E #2F6E0F
analogous
#1E0F6E #4E0F6E #6E0F5F
triadic
#4E0F6E #6E4E0F #0F6E4E
tetradic
#4E0F6E #6E1E0F #2F6E0F #0F5F6E
square
#4E0F6E #6E1E0F #2F6E0F #0F5F6E
split-complementary
#4E0F6E #5F6E0F #0F6E1E
monochromatic
#13041B #280838 #4E0F6E #7416A4 #9A1EDA

Accessibility & contrast

On white

12.98
#4E0F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E0F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F6E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F6E#FFFFFF#000000##FFFFFF
##4E0F6E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#492840
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e0f6e;
/* rgb */ color: rgb(78, 15, 110);
/* oklch */ color: oklch(33.4% 0.151 310.4);
Tailwind
colors: {
  custom: {
    50: '#845798',
    500: '#4e0f6e',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f6e;
$custom-light: #845798;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f6e",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 110
  },
  "hsl": {
    "h": 279.789,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33361,
    "c": 0.1513,
    "h": 310.4
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#4E0F6E
secondary
#5AA633
accent
#F33575
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E0F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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