#4E2FDF#4E2FDF

#4E2FDF is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.245 H 279.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4E2FDF
RGBrgb(78, 47, 223)
HSLhsl(251, 73%, 53%)
HSVhsv(251, 79%, 87%)
CMYKcmyk(65%, 78.9%, 0%, 12.5%)
CIE-LABlab(35.94, 60.41, -83.56)
CIE-LCHlch(35.94, 103.11, 305.87°)
OKLaboklab(47.49% 0.041 -0.2412)
OKLCHoklch(47.49% 0.245 279.6)
XYZxyz(17.4734, 8.9790, 70.6100)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2FDF #C0DF2F
analogous
#2F68DF #4E2FDF #A62FDF
triadic
#4E2FDF #DF4E2F #2FDF4E
tetradic
#4E2FDF #DF2F68 #C0DF2F #2FDFA6
square
#4E2FDF #DF2F68 #C0DF2F #2FDFA6
split-complementary
#4E2FDF #DFA62F #68DF2F
monochromatic
#271480 #371CB5 #4E2FDF #7B64E7 #A899EF

Accessibility & contrast

On white

7.51
#4E2FDF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E2FDF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2FDF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2FDF#FFFFFF#000000##FFFFFF
##4E2FDF1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE4
Deuteranopia (green-blind)
#004EDC
Tritanopia (blue-blind)
#006588
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e2fdf;
/* rgb */ color: rgb(78, 47, 223);
/* oklch */ color: oklch(47.5% 0.245 279.6);
Tailwind
colors: {
  custom: {
    50: '#926dea',
    500: '#4e2fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4e2fdf;
$custom-light: #926dea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2fdf",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 223
  },
  "hsl": {
    "h": 250.568,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47485,
    "c": 0.2447,
    "h": 279.6
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#4E2FDF
secondary
#CEDB8F
accent
#F038D0
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #4E2FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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