#4D2EBA#4D2EBA

#4D2EBA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.6% C 0.204 H 284.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4D2EBA
RGBrgb(77, 46, 186)
HSLhsl(253, 60%, 45%)
HSVhsv(253, 75%, 73%)
CMYKcmyk(58.6%, 75.3%, 0%, 27.1%)
CIE-LABlab(31.98, 50.13, -68.57)
CIE-LCHlch(31.98, 84.94, 306.17°)
OKLaboklab(43.59% 0.0501 -0.1976)
OKLCHoklch(43.59% 0.204 284.2)
XYZxyz(12.8978, 7.0761, 47.1310)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EBA #9BBA2E
analogous
#2E55BA #4D2EBA #932EBA
triadic
#4D2EBA #BA4D2E #2EBA4D
tetradic
#4D2EBA #BA2E55 #9BBA2E #2EBA93
square
#4D2EBA #BA2E55 #9BBA2E #2EBA93
split-complementary
#4D2EBA #BA932E #55BA2E
monochromatic
#241658 #392289 #4D2EBA #6E51D4 #9782E0

Accessibility & contrast

On white

8.69
#4D2EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4D2EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2EBA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EBA#FFFFFF#000000##FFFFFF
##4D2EBA1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#0B5672
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d2eba;
/* rgb */ color: rgb(77, 46, 186);
/* oklch */ color: oklch(43.6% 0.204 284.2);
Tailwind
colors: {
  custom: {
    50: '#8b6bd0',
    500: '#4d2eba',
    950: '#000000',
  },
}
SCSS
$custom: #4d2eba;
$custom-light: #8b6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2eba",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 253.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.20382,
    "h": 284.2
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#4D2EBA
secondary
#B8C97B
accent
#E344C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D2EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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