#4B2ED3#4B2ED3

#4B2ED3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.233 H 280.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4B2ED3
RGBrgb(75, 46, 211)
HSLhsl(251, 65%, 50%)
HSVhsv(251, 78%, 83%)
CMYKcmyk(64.5%, 78.2%, 0%, 17.3%)
CIE-LABlab(34.30, 57.15, -79.38)
CIE-LCHlch(34.30, 97.81, 305.75°)
OKLaboklab(45.91% 0.0406 -0.2291)
OKLCHoklch(45.91% 0.233 280)
XYZxyz(15.6328, 8.1517, 62.3650)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2ED3 #B6D32E
analogous
#2E64D3 #4B2ED3 #9D2ED3
triadic
#4B2ED3 #D34B2E #2ED34B
tetradic
#4B2ED3 #D32E64 #B6D32E #2ED39D
square
#4B2ED3 #D32E64 #B6D32E #2ED39D
split-complementary
#4B2ED3 #D39D2E #64D32E
monochromatic
#27176F #3822A2 #4B2ED3 #7761DE #A293E8

Accessibility & contrast

On white

7.98
#4B2ED3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4B2ED3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2ED3
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2ED3#FFFFFF#000000##FFFFFF
##4B2ED31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D8
Deuteranopia (green-blind)
#004AD0
Tritanopia (blue-blind)
#006080
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b2ed3;
/* rgb */ color: rgb(75, 46, 211);
/* oklch */ color: oklch(45.9% 0.233 280.0);
Tailwind
colors: {
  custom: {
    50: '#8f6ce2',
    500: '#4b2ed3',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ed3;
$custom-light: #8f6ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ed3",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 250.545,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.23272,
    "h": 280
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#4B2ED3
secondary
#C6D38A
accent
#E840CB
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4B2ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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