#4B2EB7#4B2EB7

#4B2EB7 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.1% C 0.201 H 283.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4B2EB7
RGBrgb(75, 46, 183)
HSLhsl(253, 60%, 45%)
HSVhsv(253, 75%, 72%)
CMYKcmyk(59%, 74.9%, 0%, 28.2%)
CIE-LABlab(31.50, 48.99, -67.58)
CIE-LCHlch(31.50, 83.47, 305.94°)
OKLaboklab(43.12% 0.048 -0.1947)
OKLCHoklch(43.12% 0.201 283.8)
XYZxyz(12.4233, 6.8679, 45.4616)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EB7 #9AB72E
analogous
#2E55B7 #4B2EB7 #902EB7
triadic
#4B2EB7 #B74B2E #2EB74B
tetradic
#4B2EB7 #B72E55 #9AB72E #2EB790
square
#4B2EB7 #B72E55 #9AB72E #2EB790
split-complementary
#4B2EB7 #B7902E #55B72E
monochromatic
#231555 #372286 #4B2EB7 #6B4FD3 #9480DF

Accessibility & contrast

On white

8.85
#4B2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4B2EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EB7
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EB7#FFFFFF#000000##FFFFFF
##4B2EB71.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#055570
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2eb7;
/* rgb */ color: rgb(75, 46, 183);
/* oklch */ color: oklch(43.1% 0.201 283.8);
Tailwind
colors: {
  custom: {
    50: '#8a6ace',
    500: '#4b2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #4b2eb7;
$custom-light: #8a6ace;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2eb7",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 252.701,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43121,
    "c": 0.20055,
    "h": 283.8
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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