#4E268D#4E268D

#4E268D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.160 H 295.7°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4E268D
RGBrgb(78, 38, 141)
HSLhsl(263, 58%, 35%)
HSVhsv(263, 73%, 55%)
CMYKcmyk(44.7%, 73%, 0%, 44.7%)
CIE-LABlab(26.53, 41.51, -50.26)
CIE-LCHlch(26.53, 65.18, 309.55°)
OKLaboklab(38.51% 0.0692 -0.1438)
OKLCHoklch(38.51% 0.16 295.7)
XYZxyz(8.6414, 4.9288, 25.6902)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E268D #658D26
analogous
#26318D #4E268D #81268D
triadic
#4E268D #8D4E26 #268D4E
tetradic
#4E268D #8D2631 #658D26 #268D81
square
#4E268D #8D2631 #658D26 #268D81
split-complementary
#4E268D #8D8126 #318D26
monochromatic
#190C2D #33195D #4E268D #6933BD #895BD3

Accessibility & contrast

On white

10.58
#4E268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E268D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E268D#FFFFFF#000000##FFFFFF
##4E268D1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#3D4057
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e268d;
/* rgb */ color: rgb(78, 38, 141);
/* oklch */ color: oklch(38.5% 0.160 295.7);
Tailwind
colors: {
  custom: {
    50: '#8664af',
    500: '#4e268d',
    950: '#000000',
  },
}
SCSS
$custom: #4e268d;
$custom-light: #8664af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e268d",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 263.301,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.15956,
    "h": 295.7
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#4E268D
secondary
#92B857
accent
#E147A5
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4E268D

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

Preview Lab → · Contrast checker → · Palette generator →

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