#4E266E#4E266E

#4E266E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.122 H 306.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#4E266E
RGBrgb(78, 38, 110)
HSLhsl(273, 49%, 29%)
HSVhsv(273, 65%, 43%)
CMYKcmyk(29.1%, 65.5%, 0%, 56.9%)
CIE-LABlab(24.10, 33.16, -34.60)
CIE-LCHlch(24.10, 47.93, 313.79°)
OKLaboklab(36% 0.0733 -0.0978)
OKLCHoklch(36% 0.122 306.9)
XYZxyz(6.6489, 4.1318, 15.1961)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E266E #466E26
analogous
#2A266E #4E266E #6E266A
triadic
#4E266E #6E4E26 #266E4E
tetradic
#4E266E #6E2A26 #466E26 #266A6E
square
#4E266E #6E2A26 #466E26 #266A6E
split-complementary
#4E266E #6A6E26 #266E2A
monochromatic
#100817 #2E1641 #4E266E #6E369B #8E4DC1

Accessibility & contrast

On white

11.50
#4E266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E266E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E266E#FFFFFF#000000##FFFFFF
##4E266E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#183A6C
Tritanopia (blue-blind)
#493546
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e266e;
/* rgb */ color: rgb(78, 38, 110);
/* oklch */ color: oklch(36.0% 0.122 306.9);
Tailwind
colors: {
  custom: {
    50: '#826398',
    500: '#4e266e',
    950: '#000000',
  },
}
SCSS
$custom: #4e266e;
$custom-light: #826398;
$custom-dark: #000000;
JSON
{
  "hex": "#4e266e",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 273.333,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36002,
    "c": 0.12222,
    "h": 306.9
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#4E266E
secondary
#73A14F
accent
#D8508C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E266E

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

Preview Lab → · Contrast checker → · Palette generator →

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