#4E26B3#4E26B3

#4E26B3 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.1% C 0.203 H 286.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4E26B3
RGBrgb(78, 38, 179)
HSLhsl(257, 65%, 43%)
HSVhsv(257, 79%, 70%)
CMYKcmyk(56.4%, 78.8%, 0%, 29.8%)
CIE-LABlab(30.06, 52.09, -67.57)
CIE-LCHlch(30.06, 85.32, 307.63°)
OKLaboklab(42.06% 0.0591 -0.1945)
OKLCHoklch(42.06% 0.203 286.9)
XYZxyz(11.9692, 6.2599, 43.2167)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E26B3 #8BB326
analogous
#2645B3 #4E26B3 #9426B3
triadic
#4E26B3 #B34E26 #26B34E
tetradic
#4E26B3 #B32645 #8BB326 #26B394
square
#4E26B3 #B32645 #8BB326 #26B394
split-complementary
#4E26B3 #B39426 #45B326
monochromatic
#22114E #381B81 #4E26B3 #6B40D6 #9272E1

Accessibility & contrast

On white

9.32
#4E26B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E26B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E26B3
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E26B3#FFFFFF#000000##FFFFFF
##4E26B31.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#1F4F6C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e26b3;
/* rgb */ color: rgb(78, 38, 179);
/* oklch */ color: oklch(42.1% 0.203 286.9);
Tailwind
colors: {
  custom: {
    50: '#8b66cb',
    500: '#4e26b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e26b3;
$custom-light: #8b66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e26b3",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 257.021,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.2033,
    "h": 286.9
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#4E26B3
secondary
#AEC86D
accent
#E840B8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E26B3

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

Preview Lab → · Contrast checker → · Palette generator →

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