#4B2EC6#4B2EC6

#4B2EC6 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.218 H 281.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4B2EC6
RGBrgb(75, 46, 198)
HSLhsl(251, 62%, 48%)
HSVhsv(251, 77%, 78%)
CMYKcmyk(62.1%, 76.8%, 0%, 22.4%)
CIE-LABlab(32.98, 53.39, -73.99)
CIE-LCHlch(32.98, 91.24, 305.81°)
OKLaboklab(44.6% 0.0441 -0.2135)
OKLCHoklch(44.6% 0.218 281.7)
XYZxyz(14.0685, 7.5260, 54.1264)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EC6 #A9C62E
analogous
#2E5DC6 #4B2EC6 #972EC6
triadic
#4B2EC6 #C64B2E #2EC64B
tetradic
#4B2EC6 #C62E5D #A9C62E #2EC697
square
#4B2EC6 #C62E5D #A9C62E #2EC697
split-complementary
#4B2EC6 #C6972E #5DC62E
monochromatic
#251763 #382294 #4B2EC6 #7159D8 #9C8AE4

Accessibility & contrast

On white

8.38
#4B2EC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4B2EC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EC6
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EC6#FFFFFF#000000##FFFFFF
##4B2EC61.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CA
Deuteranopia (green-blind)
#0048C3
Tritanopia (blue-blind)
#005A79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b2ec6;
/* rgb */ color: rgb(75, 46, 198);
/* oklch */ color: oklch(44.6% 0.218 281.7);
Tailwind
colors: {
  custom: {
    50: '#8c6bd9',
    500: '#4b2ec6',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ec6;
$custom-light: #8c6bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ec6",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 198
  },
  "hsl": {
    "h": 251.447,
    "s": 62.295,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.21797,
    "h": 281.7
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#4B2EC6
secondary
#BFCE82
accent
#E542C6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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