#4B2FBB#4B2FBB

#4B2FBB is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.6% C 0.204 H 283.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4B2FBB
RGBrgb(75, 47, 187)
HSLhsl(252, 60%, 46%)
HSVhsv(252, 75%, 73%)
CMYKcmyk(59.9%, 74.9%, 0%, 26.7%)
CIE-LABlab(32.07, 49.66, -69.02)
CIE-LCHlch(32.07, 85.03, 305.74°)
OKLaboklab(43.64% 0.0463 -0.1989)
OKLCHoklch(43.64% 0.204 283.1)
XYZxyz(12.8850, 7.1159, 47.6986)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FBB #9FBB2F
analogous
#2F59BB #4B2FBB #912FBB
triadic
#4B2FBB #BB4B2F #2FBB4B
tetradic
#4B2FBB #BB2F59 #9FBB2F #2FBB91
square
#4B2FBB #BB2F59 #9FBB2F #2FBB91
split-complementary
#4B2FBB #BB912F #59BB2F
monochromatic
#241659 #37238A #4B2FBB #6D53D4 #9784E0

Accessibility & contrast

On white

8.67
#4B2FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4B2FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FBB
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FBB#FFFFFF#000000##FFFFFF
##4B2FBB1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b2fbb;
/* rgb */ color: rgb(75, 47, 187);
/* oklch */ color: oklch(43.6% 0.204 283.1);
Tailwind
colors: {
  custom: {
    50: '#8a6bd1',
    500: '#4b2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fbb;
$custom-light: #8a6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fbb",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 252,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.20425,
    "h": 283.1
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#4B2FBB
secondary
#BAC97C
accent
#E345C3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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