#4E2EDF#4E2EDF

#4E2EDF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.245 H 279.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4E2EDF
RGBrgb(78, 46, 223)
HSLhsl(251, 73%, 53%)
HSVhsv(251, 79%, 87%)
CMYKcmyk(65%, 79.4%, 0%, 12.5%)
CIE-LABlab(35.79, 60.85, -83.81)
CIE-LCHlch(35.79, 103.57, 305.98°)
OKLaboklab(47.38% 0.0414 -0.242)
OKLCHoklch(47.38% 0.245 279.7)
XYZxyz(17.4339, 8.9000, 70.5969)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EDF #BFDF2E
analogous
#2E67DF #4E2EDF #A62EDF
triadic
#4E2EDF #DF4E2E #2EDF4E
tetradic
#4E2EDF #DF2E67 #BFDF2E #2EDFA6
square
#4E2EDF #DF2E67 #BFDF2E #2EDFA6
split-complementary
#4E2EDF #DFA62E #67DF2E
monochromatic
#27137F #371CB4 #4E2EDF #7B63E7 #A898EF

Accessibility & contrast

On white

7.55
#4E2EDF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E2EDF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EDF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EDF#FFFFFF#000000##FFFFFF
##4E2EDF1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE4
Deuteranopia (green-blind)
#004DDC
Tritanopia (blue-blind)
#006487
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e2edf;
/* rgb */ color: rgb(78, 46, 223);
/* oklch */ color: oklch(47.4% 0.245 279.7);
Tailwind
colors: {
  custom: {
    50: '#926dea',
    500: '#4e2edf',
    950: '#000000',
  },
}
SCSS
$custom: #4e2edf;
$custom-light: #926dea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2edf",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 223
  },
  "hsl": {
    "h": 250.847,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47379,
    "c": 0.24549,
    "h": 279.7
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#4E2EDF
secondary
#CDDB8E
accent
#F038CF
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #4E2EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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