#4D2EED#4D2EED

#4D2EED is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.8% C 0.261 H 277.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4D2EED
RGBrgb(77, 46, 237)
HSLhsl(250, 84%, 55%)
HSVhsv(250, 81%, 93%)
CMYKcmyk(67.5%, 80.6%, 0%, 7.1%)
CIE-LABlab(37.20, 64.68, -89.46)
CIE-LCHlch(37.20, 110.40, 305.87°)
OKLaboklab(48.77% 0.036 -0.2584)
OKLCHoklch(48.77% 0.261 277.9)
XYZxyz(19.3187, 9.6445, 80.9478)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EED #CEED2E
analogous
#2E6FED #4D2EED #AC2EED
triadic
#4D2EED #ED4D2E #2EED4D
tetradic
#4D2EED #ED2E6F #CEED2E #2EEDAC
square
#4D2EED #ED2E6F #CEED2E #2EEDAC
split-complementary
#4D2EED #EDAC2E #6FED2E
monochromatic
#230D94 #3012CC #4D2EED #7D66F2 #AD9FF7

Accessibility & contrast

On white

7.17
#4D2EED on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4D2EED on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2EED
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EED#FFFFFF#000000##FFFFFF
##4D2EED1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FF2
Deuteranopia (green-blind)
#0050EA
Tritanopia (blue-blind)
#006A8F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d2eed;
/* rgb */ color: rgb(77, 46, 237);
/* oklch */ color: oklch(48.8% 0.261 277.9);
Tailwind
colors: {
  custom: {
    50: '#956df4',
    500: '#4d2eed',
    950: '#000000',
  },
}
SCSS
$custom: #4d2eed;
$custom-light: #956df4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2eed",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 237
  },
  "hsl": {
    "h": 249.738,
    "s": 84.141,
    "l": 55.49
  },
  "oklch": {
    "l": 0.48766,
    "c": 0.26094,
    "h": 277.9
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#4D2EED
secondary
#D6E394
accent
#FA2DD9
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #4D2EED

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

Preview Lab → · Contrast checker → · Palette generator →

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