#4E266A#4E266A

#4E266A is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.7% C 0.117 H 308.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#4E266A
RGBrgb(78, 38, 106)
HSLhsl(275, 47%, 28%)
HSVhsv(275, 64%, 42%)
CMYKcmyk(26.4%, 64.2%, 0%, 58.4%)
CIE-LABlab(23.82, 32.14, -32.46)
CIE-LCHlch(23.82, 45.68, 314.71°)
OKLaboklab(35.71% 0.0734 -0.0915)
OKLCHoklch(35.71% 0.117 308.7)
XYZxyz(6.4360, 4.0466, 14.0749)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E266A #426A26
analogous
#2C266A #4E266A #6A2664
triadic
#4E266A #6A4E26 #266A4E
tetradic
#4E266A #6A2C26 #426A26 #26646A
square
#4E266A #6A2C26 #426A26 #26646A
split-complementary
#4E266A #646A26 #266A2C
monochromatic
#110817 #2D163D #4E266A #6F3697 #8F4CBF

Accessibility & contrast

On white

11.61
#4E266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E266A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E266A#FFFFFF#000000##FFFFFF
##4E266A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376C
Deuteranopia (green-blind)
#1C3968
Tritanopia (blue-blind)
#4A3344
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e266a;
/* rgb */ color: rgb(78, 38, 106);
/* oklch */ color: oklch(35.7% 0.117 308.7);
Tailwind
colors: {
  custom: {
    50: '#826395',
    500: '#4e266a',
    950: '#000000',
  },
}
SCSS
$custom: #4e266a;
$custom-light: #826395;
$custom-dark: #000000;
JSON
{
  "hex": "#4e266a",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 275.294,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35711,
    "c": 0.11734,
    "h": 308.7
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#4E266A
secondary
#6F9D4F
accent
#D75188
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E266A

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

Preview Lab → · Contrast checker → · Palette generator →

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