#4E0F70#4E0F70

#4E0F70 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.153 H 309.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#4E0F70
RGBrgb(78, 15, 112)
HSLhsl(279, 76%, 25%)
HSVhsv(279, 87%, 44%)
CMYKcmyk(30.4%, 86.6%, 0%, 56.1%)
CIE-LABlab(20.56, 44.07, -41.62)
CIE-LCHlch(20.56, 60.62, 316.64°)
OKLaboklab(33.53% 0.0974 -0.1183)
OKLCHoklch(33.53% 0.153 309.5)
XYZxyz(6.2367, 3.1313, 15.6020)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F70 #31700F
analogous
#1D0F70 #4E0F70 #700F62
triadic
#4E0F70 #704E0F #0F704E
tetradic
#4E0F70 #701D0F #31700F #0F6270
square
#4E0F70 #701D0F #31700F #0F6270
split-complementary
#4E0F70 #62700F #0F701D
monochromatic
#13041B #28083A #4E0F70 #7416A6 #991DDC

Accessibility & contrast

On white

12.91
#4E0F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E0F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F70
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F70#FFFFFF#000000##FFFFFF
##4E0F701.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#492941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e0f70;
/* rgb */ color: rgb(78, 15, 112);
/* oklch */ color: oklch(33.5% 0.153 309.5);
Tailwind
colors: {
  custom: {
    50: '#84579a',
    500: '#4e0f70',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f70;
$custom-light: #84579a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f70",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 278.969,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33534,
    "c": 0.15322,
    "h": 309.5
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#4E0F70
secondary
#5CA833
accent
#F33577
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E0F70

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

Preview Lab → · Contrast checker → · Palette generator →

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