#4E2DDF#4E2DDF

#4E2DDF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.246 H 279.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2DDF
RGBrgb(78, 45, 223)
HSLhsl(251, 74%, 53%)
HSVhsv(251, 80%, 87%)
CMYKcmyk(65%, 79.8%, 0%, 12.5%)
CIE-LABlab(35.64, 61.29, -84.06)
CIE-LCHlch(35.64, 104.03, 306.10°)
OKLaboklab(47.28% 0.0419 -0.2427)
OKLCHoklch(47.28% 0.246 279.8)
XYZxyz(17.3953, 8.8228, 70.5840)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2DDF #BEDF2D
analogous
#2D65DF #4E2DDF #A72DDF
triadic
#4E2DDF #DF4E2D #2DDF4E
tetradic
#4E2DDF #DF2D65 #BEDF2D #2DDFA7
square
#4E2DDF #DF2D65 #BEDF2D #2DDFA7
split-complementary
#4E2DDF #DFA72D #65DF2D
monochromatic
#27137E #381BB3 #4E2DDF #7B62E7 #A897EF

Accessibility & contrast

On white

7.60
#4E2DDF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E2DDF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2DDF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2DDF#FFFFFF#000000##FFFFFF
##4E2DDF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.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: #4e2ddf;
/* rgb */ color: rgb(78, 45, 223);
/* oklch */ color: oklch(47.3% 0.246 279.8);
Tailwind
colors: {
  custom: {
    50: '#936ceb',
    500: '#4e2ddf',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ddf;
$custom-light: #936ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ddf",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 223
  },
  "hsl": {
    "h": 251.124,
    "s": 73.554,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47275,
    "c": 0.24627,
    "h": 279.8
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#4E2DDF
secondary
#CCDB8D
accent
#F038CE
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #4E2DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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