#4B2C8F#4B2C8F

#4B2C8F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.154 H 292.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4B2C8F
RGBrgb(75, 44, 143)
HSLhsl(259, 53%, 37%)
HSVhsv(259, 69%, 56%)
CMYKcmyk(47.6%, 69.2%, 0%, 43.9%)
CIE-LABlab(27.52, 38.26, -49.90)
CIE-LCHlch(27.52, 62.88, 307.48°)
OKLaboklab(39.18% 0.0581 -0.1429)
OKLCHoklch(39.18% 0.154 292.1)
XYZxyz(8.7589, 5.2801, 26.5389)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2C8F #708F2C
analogous
#2C3F8F #4B2C8F #7D2C8F
triadic
#4B2C8F #8F4B2C #2C8F4B
tetradic
#4B2C8F #8F2C3F #708F2C #2C8F7D
square
#4B2C8F #8F2C3F #708F2C #2C8F7D
split-complementary
#4B2C8F #8F7D2C #3F8F2C
monochromatic
#1A0F31 #321E60 #4B2C8F #643ABE #8766D0

Accessibility & contrast

On white

10.21
#4B2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2C8F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2C8F#FFFFFF#000000##FFFFFF
##4B2C8F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#36445A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2c8f;
/* rgb */ color: rgb(75, 44, 143);
/* oklch */ color: oklch(39.2% 0.154 292.1);
Tailwind
colors: {
  custom: {
    50: '#8467b1',
    500: '#4b2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4b2c8f;
$custom-light: #8467b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2c8f",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 258.788,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.15426,
    "h": 292.1
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#4B2C8F
secondary
#9BB661
accent
#DC4BAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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