#4B2C8E#4B2C8E

#4B2C8E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.153 H 292.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4B2C8E
RGBrgb(75, 44, 142)
HSLhsl(259, 53%, 36%)
HSVhsv(259, 69%, 56%)
CMYKcmyk(47.2%, 69%, 0%, 44.3%)
CIE-LABlab(27.44, 37.97, -49.42)
CIE-LCHlch(27.44, 62.32, 307.54°)
OKLaboklab(39.1% 0.0583 -0.1415)
OKLCHoklch(39.1% 0.153 292.4)
XYZxyz(8.6835, 5.2499, 26.1418)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2C8E #6F8E2C
analogous
#2C3E8E #4B2C8E #7C2C8E
triadic
#4B2C8E #8E4B2C #2C8E4B
tetradic
#4B2C8E #8E2C3E #6F8E2C #2C8E7C
square
#4B2C8E #8E2C3E #6F8E2C #2C8E7C
split-complementary
#4B2C8E #8E7C2C #3E8E2C
monochromatic
#1A0F31 #321E5F #4B2C8E #643ABD #8765CF

Accessibility & contrast

On white

10.24
#4B2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4B2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2C8E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2C8E#FFFFFF#000000##FFFFFF
##4B2C8E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#374459
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2c8e;
/* rgb */ color: rgb(75, 44, 142);
/* oklch */ color: oklch(39.1% 0.153 292.4);
Tailwind
colors: {
  custom: {
    50: '#8367b0',
    500: '#4b2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #4b2c8e;
$custom-light: #8367b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2c8e",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 258.98,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.153,
    "h": 292.4
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#4B2C8E
secondary
#9BB660
accent
#DC4CAE
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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