#4D2EDF#4D2EDF

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

Color values

HEX#4D2EDF
RGBrgb(77, 46, 223)
HSLhsl(251, 73%, 53%)
HSVhsv(251, 79%, 87%)
CMYKcmyk(65.5%, 79.4%, 0%, 12.5%)
CIE-LABlab(35.71, 60.76, -83.95)
CIE-LCHlch(35.71, 103.63, 305.90°)
OKLaboklab(47.3% 0.04 -0.2424)
OKLCHoklch(47.3% 0.246 279.4)
XYZxyz(17.3526, 8.8580, 70.5931)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EDF #C0DF2E
analogous
#2E68DF #4D2EDF #A52EDF
triadic
#4D2EDF #DF4D2E #2EDF4D
tetradic
#4D2EDF #DF2E68 #C0DF2E #2EDFA5
square
#4D2EDF #DF2E68 #C0DF2E #2EDFA5
split-complementary
#4D2EDF #DFA52E #68DF2E
monochromatic
#26137F #361CB4 #4D2EDF #7A63E7 #A798EF

Accessibility & contrast

On white

7.58
#4D2EDF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4D2EDF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2EDF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EDF#FFFFFF#000000##FFFFFF
##4D2EDF1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.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: #4d2edf;
/* rgb */ color: rgb(77, 46, 223);
/* oklch */ color: oklch(47.3% 0.246 279.4);
Tailwind
colors: {
  custom: {
    50: '#926deb',
    500: '#4d2edf',
    950: '#000000',
  },
}
SCSS
$custom: #4d2edf;
$custom-light: #926deb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2edf",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 223
  },
  "hsl": {
    "h": 250.508,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47302,
    "c": 0.24568,
    "h": 279.4
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D2EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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