#4B2EB8#4B2EB8

#4B2EB8 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.2% C 0.202 H 283.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4B2EB8
RGBrgb(75, 46, 184)
HSLhsl(253, 60%, 45%)
HSVhsv(253, 75%, 72%)
CMYKcmyk(59.2%, 75%, 0%, 27.8%)
CIE-LABlab(31.60, 49.28, -68.01)
CIE-LCHlch(31.60, 83.99, 305.93°)
OKLaboklab(43.22% 0.0477 -0.196)
OKLCHoklch(43.22% 0.202 283.7)
XYZxyz(12.5277, 6.9097, 46.0117)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EB8 #9BB82E
analogous
#2E56B8 #4B2EB8 #902EB8
triadic
#4B2EB8 #B84B2E #2EB84B
tetradic
#4B2EB8 #B82E56 #9BB82E #2EB890
square
#4B2EB8 #B82E56 #9BB82E #2EB890
split-complementary
#4B2EB8 #B8902E #56B82E
monochromatic
#231656 #372287 #4B2EB8 #6C50D3 #9581DF

Accessibility & contrast

On white

8.82
#4B2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4B2EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EB8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EB8#FFFFFF#000000##FFFFFF
##4B2EB81.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#025571
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2eb8;
/* rgb */ color: rgb(75, 46, 184);
/* oklch */ color: oklch(43.2% 0.202 283.7);
Tailwind
colors: {
  custom: {
    50: '#8a6acf',
    500: '#4b2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #4b2eb8;
$custom-light: #8a6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2eb8",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 252.609,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43218,
    "c": 0.20173,
    "h": 283.7
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#4B2EB8
secondary
#B8C879
accent
#E345C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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