#4E266F#4E266F

#4E266F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.1% C 0.123 H 306.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#4E266F
RGBrgb(78, 38, 111)
HSLhsl(273, 49%, 29%)
HSVhsv(273, 66%, 44%)
CMYKcmyk(29.7%, 65.8%, 0%, 56.5%)
CIE-LABlab(24.17, 33.42, -35.13)
CIE-LCHlch(24.17, 48.49, 313.57°)
OKLaboklab(36.08% 0.0733 -0.0993)
OKLCHoklch(36.08% 0.123 306.4)
XYZxyz(6.7036, 4.1537, 15.4844)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E266F #476F26
analogous
#2A266F #4E266F #6F266C
triadic
#4E266F #6F4E26 #266F4E
tetradic
#4E266F #6F2A26 #476F26 #266C6F
square
#4E266F #6F2A26 #476F26 #266C6F
split-complementary
#4E266F #6C6F26 #266F2A
monochromatic
#100817 #2E1641 #4E266F #6E369D #8D4DC2

Accessibility & contrast

On white

11.47
#4E266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E266F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E266F#FFFFFF#000000##FFFFFF
##4E266F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#173A6D
Tritanopia (blue-blind)
#493546
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e266f;
/* rgb */ color: rgb(78, 38, 111);
/* oklch */ color: oklch(36.1% 0.123 306.4);
Tailwind
colors: {
  custom: {
    50: '#826399',
    500: '#4e266f',
    950: '#000000',
  },
}
SCSS
$custom: #4e266f;
$custom-light: #826399;
$custom-dark: #000000;
JSON
{
  "hex": "#4e266f",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 272.877,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36075,
    "c": 0.12343,
    "h": 306.4
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#4E266F
secondary
#74A24F
accent
#D94F8D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E266F

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

Preview Lab → · Contrast checker → · Palette generator →

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