#4E268A#4E268A

#4E268A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.156 H 296.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#4E268A
RGBrgb(78, 38, 138)
HSLhsl(264, 57%, 35%)
HSVhsv(264, 72%, 54%)
CMYKcmyk(43.5%, 72.5%, 0%, 45.9%)
CIE-LABlab(26.28, 40.68, -48.81)
CIE-LCHlch(26.28, 63.54, 309.81°)
OKLaboklab(38.25% 0.0698 -0.1395)
OKLCHoklch(38.25% 0.156 296.6)
XYZxyz(8.4212, 4.8407, 24.5305)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E268A #628A26
analogous
#26308A #4E268A #80268A
triadic
#4E268A #8A4E26 #268A4E
tetradic
#4E268A #8A2630 #628A26 #268A80
square
#4E268A #8A2630 #628A26 #268A80
split-complementary
#4E268A #8A8026 #308A26
monochromatic
#180C2A #33195A #4E268A #6933BA #8959D1

Accessibility & contrast

On white

10.67
#4E268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E268A
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E268A#FFFFFF#000000##FFFFFF
##4E268A1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#3E3F55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e268a;
/* rgb */ color: rgb(78, 38, 138);
/* oklch */ color: oklch(38.2% 0.156 296.6);
Tailwind
colors: {
  custom: {
    50: '#8564ad',
    500: '#4e268a',
    950: '#000000',
  },
}
SCSS
$custom: #4e268a;
$custom-light: #8564ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e268a",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 264,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38247,
    "c": 0.15601,
    "h": 296.6
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#4E268A
secondary
#90B656
accent
#E048A3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4E268A

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

Preview Lab → · Contrast checker → · Palette generator →

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