#4B2EBB#4B2EBB

#4B2EBB is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.205 H 283.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4B2EBB
RGBrgb(75, 46, 187)
HSLhsl(252, 61%, 46%)
HSVhsv(252, 75%, 73%)
CMYKcmyk(59.9%, 75.4%, 0%, 26.7%)
CIE-LABlab(31.89, 50.17, -69.31)
CIE-LCHlch(31.89, 85.56, 305.90°)
OKLaboklab(43.51% 0.047 -0.1998)
OKLCHoklch(43.51% 0.205 283.2)
XYZxyz(12.8455, 7.0368, 47.6854)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EBB #9EBB2E
analogous
#2E58BB #4B2EBB #912EBB
triadic
#4B2EBB #BB4B2E #2EBB4B
tetradic
#4B2EBB #BB2E58 #9EBB2E #2EBB91
square
#4B2EBB #BB2E58 #9EBB2E #2EBB91
split-complementary
#4B2EBB #BB912E #58BB2E
monochromatic
#241659 #37228A #4B2EBB #6D52D4 #9683E0

Accessibility & contrast

On white

8.72
#4B2EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4B2EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EBB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EBB#FFFFFF#000000##FFFFFF
##4B2EBB1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b2ebb;
/* rgb */ color: rgb(75, 46, 187);
/* oklch */ color: oklch(43.5% 0.205 283.2);
Tailwind
colors: {
  custom: {
    50: '#8a6ad1',
    500: '#4b2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ebb;
$custom-light: #8a6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ebb",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 252.34,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4351,
    "c": 0.20524,
    "h": 283.2
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#4B2EBB
secondary
#B9CA7B
accent
#E444C3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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