#4E266D#4E266D

#4E266D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.121 H 307.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#4E266D
RGBrgb(78, 38, 109)
HSLhsl(274, 48%, 29%)
HSVhsv(274, 65%, 43%)
CMYKcmyk(28.4%, 65.1%, 0%, 57.3%)
CIE-LABlab(24.03, 32.91, -34.07)
CIE-LCHlch(24.03, 47.36, 314.01°)
OKLaboklab(35.93% 0.0734 -0.0962)
OKLCHoklch(35.93% 0.121 307.3)
XYZxyz(6.5947, 4.1101, 14.9110)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E266D #456D26
analogous
#2B266D #4E266D #6D2669
triadic
#4E266D #6D4E26 #266D4E
tetradic
#4E266D #6D2B26 #456D26 #26696D
square
#4E266D #6D2B26 #456D26 #26696D
split-complementary
#4E266D #696D26 #266D2B
monochromatic
#100817 #2E1640 #4E266D #6E369A #8E4DC1

Accessibility & contrast

On white

11.53
#4E266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E266D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E266D#FFFFFF#000000##FFFFFF
##4E266D1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02386F
Deuteranopia (green-blind)
#193A6B
Tritanopia (blue-blind)
#493445
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e266d;
/* rgb */ color: rgb(78, 38, 109);
/* oklch */ color: oklch(35.9% 0.121 307.3);
Tailwind
colors: {
  custom: {
    50: '#826397',
    500: '#4e266d',
    950: '#000000',
  },
}
SCSS
$custom: #4e266d;
$custom-light: #826397;
$custom-dark: #000000;
JSON
{
  "hex": "#4e266d",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 273.803,
    "s": 48.299,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35928,
    "c": 0.121,
    "h": 307.3
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#4E266D
secondary
#72A04F
accent
#D8508B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E266D

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

Preview Lab → · Contrast checker → · Palette generator →

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