#4B2EB3#4B2EB3

#4B2EB3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.196 H 284.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4B2EB3
RGBrgb(75, 46, 179)
HSLhsl(253, 59%, 44%)
HSVhsv(253, 74%, 70%)
CMYKcmyk(58.1%, 74.3%, 0%, 29.8%)
CIE-LABlab(31.12, 47.81, -65.83)
CIE-LCHlch(31.12, 81.36, 305.99°)
OKLaboklab(42.74% 0.049 -0.1896)
OKLCHoklch(42.74% 0.196 284.5)
XYZxyz(12.0128, 6.7038, 43.3000)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EB3 #96B32E
analogous
#2E54B3 #4B2EB3 #8E2EB3
triadic
#4B2EB3 #B34B2E #2EB34B
tetradic
#4B2EB3 #B32E54 #96B32E #2EB38E
square
#4B2EB3 #B32E54 #96B32E #2EB38E
split-complementary
#4B2EB3 #B38E2E #54B32E
monochromatic
#221552 #372182 #4B2EB3 #6A4DD1 #937EDE

Accessibility & contrast

On white

8.97
#4B2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4B2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EB3
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EB3#FFFFFF#000000##FFFFFF
##4B2EB31.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#11536E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2eb3;
/* rgb */ color: rgb(75, 46, 179);
/* oklch */ color: oklch(42.7% 0.196 284.5);
Tailwind
colors: {
  custom: {
    50: '#896acb',
    500: '#4b2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #4b2eb3;
$custom-light: #896acb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2eb3",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 253.083,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42737,
    "c": 0.19583,
    "h": 284.5
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#4B2EB3
secondary
#B5C676
accent
#E246C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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