#4B2EB5#4B2EB5

#4B2EB5 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.198 H 284.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4B2EB5
RGBrgb(75, 46, 181)
HSLhsl(253, 59%, 45%)
HSVhsv(253, 75%, 71%)
CMYKcmyk(58.6%, 74.6%, 0%, 29%)
CIE-LABlab(31.31, 48.40, -66.71)
CIE-LCHlch(31.31, 82.41, 305.96°)
OKLaboklab(42.93% 0.0485 -0.1922)
OKLCHoklch(42.93% 0.198 284.2)
XYZxyz(12.2166, 6.7853, 44.3730)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EB5 #98B52E
analogous
#2E55B5 #4B2EB5 #8F2EB5
triadic
#4B2EB5 #B54B2E #2EB54B
tetradic
#4B2EB5 #B52E55 #98B52E #2EB58F
square
#4B2EB5 #B52E55 #98B52E #2EB58F
split-complementary
#4B2EB5 #B58F2E #55B52E
monochromatic
#231553 #372284 #4B2EB5 #6A4ED2 #937FDE

Accessibility & contrast

On white

8.91
#4B2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4B2EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EB5
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EB5#FFFFFF#000000##FFFFFF
##4B2EB51.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#0C546F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2eb5;
/* rgb */ color: rgb(75, 46, 181);
/* oklch */ color: oklch(42.9% 0.198 284.2);
Tailwind
colors: {
  custom: {
    50: '#896acc',
    500: '#4b2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #4b2eb5;
$custom-light: #896acc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2eb5",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 252.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42928,
    "c": 0.19819,
    "h": 284.2
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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