#4B2EA3#4B2EA3

#4B2EA3 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.177 H 287.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4B2EA3
RGBrgb(75, 46, 163)
HSLhsl(255, 56%, 41%)
HSVhsv(255, 72%, 64%)
CMYKcmyk(54%, 71.8%, 0%, 36.1%)
CIE-LABlab(29.65, 43.06, -58.65)
CIE-LCHlch(29.65, 72.76, 306.29°)
OKLaboklab(41.24% 0.0525 -0.1686)
OKLCHoklch(41.24% 0.177 287.3)
XYZxyz(10.4875, 6.0937, 35.2668)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EA3 #86A32E
analogous
#2E4BA3 #4B2EA3 #852EA3
triadic
#4B2EA3 #A34B2E #2EA34B
tetradic
#4B2EA3 #A32E4B #86A32E #2EA385
square
#4B2EA3 #A32E4B #86A32E #2EA385
split-complementary
#4B2EA3 #A3852E #4BA32E
monochromatic
#1F1344 #352173 #4B2EA3 #6544CA #8C74D8

Accessibility & contrast

On white

9.46
#4B2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4B2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EA3
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EA3#FFFFFF#000000##FFFFFF
##4B2EA31.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#284D65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2ea3;
/* rgb */ color: rgb(75, 46, 163);
/* oklch */ color: oklch(41.2% 0.177 287.3);
Tailwind
colors: {
  custom: {
    50: '#8669bf',
    500: '#4b2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ea3;
$custom-light: #8669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ea3",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 254.872,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41241,
    "c": 0.17657,
    "h": 287.3
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#4B2EA3
secondary
#ABBF6D
accent
#DF49BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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