#4B2EB2#4B2EB2

#4B2EB2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.195 H 284.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4B2EB2
RGBrgb(75, 46, 178)
HSLhsl(253, 59%, 44%)
HSVhsv(253, 74%, 70%)
CMYKcmyk(57.9%, 74.2%, 0%, 30.2%)
CIE-LABlab(31.03, 47.51, -65.39)
CIE-LCHlch(31.03, 80.83, 306.00°)
OKLaboklab(42.64% 0.0492 -0.1883)
OKLCHoklch(42.64% 0.195 284.6)
XYZxyz(11.9121, 6.6635, 42.7693)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EB2 #95B22E
analogous
#2E53B2 #4B2EB2 #8D2EB2
triadic
#4B2EB2 #B24B2E #2EB24B
tetradic
#4B2EB2 #B22E53 #95B22E #2EB28D
square
#4B2EB2 #B22E53 #95B22E #2EB28D
split-complementary
#4B2EB2 #B28D2E #53B22E
monochromatic
#221551 #372181 #4B2EB2 #694CD1 #927DDD

Accessibility & contrast

On white

9.00
#4B2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4B2EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EB2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EB2#FFFFFF#000000##FFFFFF
##4B2EB21.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#13536E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2eb2;
/* rgb */ color: rgb(75, 46, 178);
/* oklch */ color: oklch(42.6% 0.195 284.6);
Tailwind
colors: {
  custom: {
    50: '#896aca',
    500: '#4b2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #4b2eb2;
$custom-light: #896aca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2eb2",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 253.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42641,
    "c": 0.19464,
    "h": 284.6
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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