#4B2EB4#4B2EB4

#4B2EB4 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.197 H 284.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4B2EB4
RGBrgb(75, 46, 180)
HSLhsl(253, 59%, 44%)
HSVhsv(253, 74%, 71%)
CMYKcmyk(58.3%, 74.4%, 0%, 29.4%)
CIE-LABlab(31.22, 48.10, -66.27)
CIE-LCHlch(31.22, 81.89, 305.97°)
OKLaboklab(42.83% 0.0487 -0.1909)
OKLCHoklch(42.83% 0.197 284.3)
XYZxyz(12.1143, 6.7444, 43.8346)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EB4 #97B42E
analogous
#2E54B4 #4B2EB4 #8E2EB4
triadic
#4B2EB4 #B44B2E #2EB44B
tetradic
#4B2EB4 #B42E54 #97B42E #2EB48E
square
#4B2EB4 #B42E54 #97B42E #2EB48E
split-complementary
#4B2EB4 #B48E2E #54B42E
monochromatic
#221553 #372283 #4B2EB4 #6A4ED2 #937EDE

Accessibility & contrast

On white

8.94
#4B2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4B2EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EB4
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EB4#FFFFFF#000000##FFFFFF
##4B2EB41.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#0F536F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2eb4;
/* rgb */ color: rgb(75, 46, 180);
/* oklch */ color: oklch(42.8% 0.197 284.3);
Tailwind
colors: {
  custom: {
    50: '#896acc',
    500: '#4b2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #4b2eb4;
$custom-light: #896acc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2eb4",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 252.985,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.19701,
    "h": 284.3
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#4B2EB4
secondary
#B6C777
accent
#E245C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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