#4E2EFF#4E2EFF

#4E2EFF is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 50.8% C 0.280 H 276.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4E2EFF
RGBrgb(78, 46, 255)
HSLhsl(249, 100%, 59%)
HSVhsv(249, 82%, 100%)
CMYKcmyk(69.4%, 82%, 0%, 0%)
CIE-LABlab(39.23, 69.70, -96.23)
CIE-LCHlch(39.23, 118.82, 305.92°)
OKLaboklab(50.75% 0.0322 -0.278)
OKLCHoklch(50.75% 0.28 276.6)
XYZxyz(22.1630, 10.7916, 95.5033)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EFF #DFFF2E
analogous
#2E76FF #4E2EFF #B72EFF
triadic
#4E2EFF #FF4E2E #2EFF4E
tetradic
#4E2EFF #FF2E76 #DFFF2E #2EFFB7
square
#4E2EFF #FF2E76 #DFFF2E #2EFFB7
split-complementary
#4E2EFF #FFB72E #76FF2E
monochromatic
#1B00B3 #2500F0 #4E2EFF #826BFF #B6A8FF

Accessibility & contrast

On white

6.65
#4E2EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4E2EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E2EFF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EFF#FFFFFF#000000##FFFFFF
##4E2EFF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065FF
Deuteranopia (green-blind)
#0053FC
Tritanopia (blue-blind)
#00729A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e2eff;
/* rgb */ color: rgb(78, 46, 255);
/* oklch */ color: oklch(50.8% 0.280 276.6);
Tailwind
colors: {
  custom: {
    50: '#996fff',
    500: '#4e2eff',
    950: '#000000',
  },
}
SCSS
$custom: #4e2eff;
$custom-light: #996fff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2eff",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 249.187,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.2799,
    "h": 276.6
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#4E2EFF
secondary
#E1ED9B
accent
#FF29DE
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #4E2EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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