#4B2FB5#4B2FB5

#4B2FB5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.197 H 284.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4B2FB5
RGBrgb(75, 47, 181)
HSLhsl(253, 59%, 45%)
HSVhsv(253, 74%, 71%)
CMYKcmyk(58.6%, 74%, 0%, 29%)
CIE-LABlab(31.50, 47.88, -66.41)
CIE-LCHlch(31.50, 81.87, 305.79°)
OKLaboklab(43.06% 0.0477 -0.1913)
OKLCHoklch(43.06% 0.197 284)
XYZxyz(12.2561, 6.8643, 44.3862)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FB5 #99B52F
analogous
#2F56B5 #4B2FB5 #8E2FB5
triadic
#4B2FB5 #B54B2F #2FB54B
tetradic
#4B2FB5 #B52F56 #99B52F #2FB58E
square
#4B2FB5 #B52F56 #99B52F #2FB58E
split-complementary
#4B2FB5 #B58E2F #56B52F
monochromatic
#231654 #372284 #4B2FB5 #6B50D1 #9480DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B2FB5#FFFFFF#000000##FFFFFF
##4B2FB51.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)
#004EB9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#0C546F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2fb5;
/* rgb */ color: rgb(75, 47, 181);
/* oklch */ color: oklch(43.1% 0.197 284.0);
Tailwind
colors: {
  custom: {
    50: '#896bcc',
    500: '#4b2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fb5;
$custom-light: #896bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fb5",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 252.537,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.19716,
    "h": 284
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#4B2FB5
secondary
#B7C779
accent
#E246C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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