#4B2C8A#4B2C8A

#4B2C8A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.148 H 293.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4B2C8A
RGBrgb(75, 44, 138)
HSLhsl(260, 52%, 36%)
HSVhsv(260, 68%, 54%)
CMYKcmyk(45.7%, 68.1%, 0%, 45.9%)
CIE-LABlab(27.11, 36.81, -47.47)
CIE-LCHlch(27.11, 60.07, 307.79°)
OKLaboklab(38.76% 0.0589 -0.1357)
OKLCHoklch(38.76% 0.148 293.4)
XYZxyz(8.3885, 5.1320, 24.5884)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2C8A #6B8A2C
analogous
#2C3C8A #4B2C8A #7A2C8A
triadic
#4B2C8A #8A4B2C #2C8A4B
tetradic
#4B2C8A #8A2C3C #6B8A2C #2C8A7A
square
#4B2C8A #8A2C3C #6B8A2C #2C8A7A
split-complementary
#4B2C8A #8A7A2C #3C8A2C
monochromatic
#190E2D #321D5C #4B2C8A #643BB8 #8663CD

Accessibility & contrast

On white

10.36
#4B2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4B2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2C8A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2C8A#FFFFFF#000000##FFFFFF
##4B2C8A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#394357
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2c8a;
/* rgb */ color: rgb(75, 44, 138);
/* oklch */ color: oklch(38.8% 0.148 293.4);
Tailwind
colors: {
  custom: {
    50: '#8367ad',
    500: '#4b2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4b2c8a;
$custom-light: #8367ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2c8a",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 259.787,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.14795,
    "h": 293.4
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#4B2C8A
secondary
#97B45E
accent
#DB4DAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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