#4B2EB0#4B2EB0

#4B2EB0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.192 H 285.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4B2EB0
RGBrgb(75, 46, 176)
HSLhsl(253, 59%, 44%)
HSVhsv(253, 74%, 69%)
CMYKcmyk(57.4%, 73.9%, 0%, 31%)
CIE-LABlab(30.84, 46.92, -64.51)
CIE-LCHlch(30.84, 79.76, 306.03°)
OKLaboklab(42.45% 0.0497 -0.1857)
OKLCHoklch(42.45% 0.192 285)
XYZxyz(11.7127, 6.5837, 41.7195)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EB0 #93B02E
analogous
#2E52B0 #4B2EB0 #8C2EB0
triadic
#4B2EB0 #B04B2E #2EB04B
tetradic
#4B2EB0 #B02E52 #93B02E #2EB08C
square
#4B2EB0 #B02E52 #93B02E #2EB08C
split-complementary
#4B2EB0 #B08C2E #52B02E
monochromatic
#22154F #36217F #4B2EB0 #694BD0 #917CDD

Accessibility & contrast

On white

9.06
#4B2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4B2EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EB0
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EB0#FFFFFF#000000##FFFFFF
##4B2EB01.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#17526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2eb0;
/* rgb */ color: rgb(75, 46, 176);
/* oklch */ color: oklch(42.5% 0.192 285.0);
Tailwind
colors: {
  custom: {
    50: '#896ac9',
    500: '#4b2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #4b2eb0;
$custom-light: #896ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2eb0",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 253.385,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42451,
    "c": 0.19226,
    "h": 285
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#4B2EB0
secondary
#B3C575
accent
#E246BF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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