#4E268F#4E268F

#4E268F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.162 H 295.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4E268F
RGBrgb(78, 38, 143)
HSLhsl(263, 58%, 35%)
HSVhsv(263, 73%, 56%)
CMYKcmyk(45.5%, 73.4%, 0%, 43.9%)
CIE-LABlab(26.70, 42.06, -51.21)
CIE-LCHlch(26.70, 66.27, 309.39°)
OKLaboklab(38.68% 0.0687 -0.1466)
OKLCHoklch(38.68% 0.162 295.1)
XYZxyz(8.7916, 4.9889, 26.4810)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E268F #678F26
analogous
#26338F #4E268F #82268F
triadic
#4E268F #8F4E26 #268F4E
tetradic
#4E268F #8F2633 #678F26 #268F82
square
#4E268F #8F2633 #678F26 #268F82
split-complementary
#4E268F #8F8226 #338F26
monochromatic
#190C2E #34195F #4E268F #6833BF #895CD4

Accessibility & contrast

On white

10.51
#4E268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E268F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E268F#FFFFFF#000000##FFFFFF
##4E268F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#3C4158
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e268f;
/* rgb */ color: rgb(78, 38, 143);
/* oklch */ color: oklch(38.7% 0.162 295.1);
Tailwind
colors: {
  custom: {
    50: '#8664b1',
    500: '#4e268f',
    950: '#000000',
  },
}
SCSS
$custom: #4e268f;
$custom-light: #8664b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e268f",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 262.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38683,
    "c": 0.16193,
    "h": 295.1
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#4E268F
secondary
#94B958
accent
#E147A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E268F

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

Preview Lab → · Contrast checker → · Palette generator →

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