#4E2767#4E2767

#4E2767 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.7% C 0.112 H 310.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2767
RGBrgb(78, 39, 103)
HSLhsl(277, 45%, 28%)
HSVhsv(277, 62%, 40%)
CMYKcmyk(24.3%, 62.1%, 0%, 59.6%)
CIE-LABlab(23.84, 30.80, -30.50)
CIE-LCHlch(23.84, 43.35, 315.29°)
OKLaboklab(35.66% 0.072 -0.0858)
OKLCHoklch(35.66% 0.112 310)
XYZxyz(6.3151, 4.0501, 13.2784)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2767 #406727
analogous
#2E2767 #4E2767 #672760
triadic
#4E2767 #674E27 #27674E
tetradic
#4E2767 #672E27 #406727 #276067
square
#4E2767 #672E27 #406727 #276067
split-complementary
#4E2767 #606727 #27672E
monochromatic
#110816 #2C163B #4E2767 #703893 #904DBC

Accessibility & contrast

On white

11.60
#4E2767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E2767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2767
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2767#FFFFFF#000000##FFFFFF
##4E27671.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103769
Deuteranopia (green-blind)
#203965
Tritanopia (blue-blind)
#4B3343
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2767;
/* rgb */ color: rgb(78, 39, 103);
/* oklch */ color: oklch(35.7% 0.112 310.0);
Tailwind
colors: {
  custom: {
    50: '#826393',
    500: '#4e2767',
    950: '#000000',
  },
}
SCSS
$custom: #4e2767;
$custom-light: #826393;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2767",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 276.563,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35655,
    "c": 0.112,
    "h": 310
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#4E2767
secondary
#6D9A50
accent
#D55386
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E2767

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

Preview Lab → · Contrast checker → · Palette generator →

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