#4B2EB6#4B2EB6

#4B2EB6 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.199 H 284.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4B2EB6
RGBrgb(75, 46, 182)
HSLhsl(253, 60%, 45%)
HSVhsv(253, 75%, 71%)
CMYKcmyk(58.8%, 74.7%, 0%, 28.6%)
CIE-LABlab(31.41, 48.69, -67.14)
CIE-LCHlch(31.41, 82.94, 305.95°)
OKLaboklab(43.03% 0.0482 -0.1934)
OKLCHoklch(43.03% 0.199 284)
XYZxyz(12.3196, 6.8265, 44.9154)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EB6 #99B62E
analogous
#2E55B6 #4B2EB6 #8F2EB6
triadic
#4B2EB6 #B64B2E #2EB64B
tetradic
#4B2EB6 #B62E55 #99B62E #2EB68F
square
#4B2EB6 #B62E55 #99B62E #2EB68F
split-complementary
#4B2EB6 #B68F2E #55B62E
monochromatic
#231554 #372285 #4B2EB6 #6B4FD2 #9480DF

Accessibility & contrast

On white

8.88
#4B2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4B2EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EB6
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EB6#FFFFFF#000000##FFFFFF
##4B2EB61.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#095470
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2eb6;
/* rgb */ color: rgb(75, 46, 182);
/* oklch */ color: oklch(43.0% 0.199 284.0);
Tailwind
colors: {
  custom: {
    50: '#8a6acd',
    500: '#4b2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #4b2eb6;
$custom-light: #8a6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2eb6",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 252.794,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.19937,
    "h": 284
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#4B2EB6
secondary
#B7C878
accent
#E345C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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