#4B2A8D#4B2A8D

#4B2A8D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.154 H 293.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#4B2A8D
RGBrgb(75, 42, 141)
HSLhsl(260, 54%, 36%)
HSVhsv(260, 70%, 55%)
CMYKcmyk(46.8%, 70.2%, 0%, 44.7%)
CIE-LABlab(26.95, 38.80, -49.59)
CIE-LCHlch(26.95, 62.97, 308.04°)
OKLaboklab(38.72% 0.0605 -0.142)
OKLCHoklch(38.72% 0.154 293.1)
XYZxyz(8.5360, 5.0746, 25.7239)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A8D #6C8D2A
analogous
#2A3A8D #4B2A8D #7C2A8D
triadic
#4B2A8D #8D4B2A #2A8D4B
tetradic
#4B2A8D #8D2A3A #6C8D2A #2A8D7C
square
#4B2A8D #8D2A3A #6C8D2A #2A8D7C
split-complementary
#4B2A8D #8D7C2A #3A8D2A
monochromatic
#190E2F #321C5E #4B2A8D #6438BC #8661D0

Accessibility & contrast

On white

10.42
#4B2A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4B2A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A8D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A8D#FFFFFF#000000##FFFFFF
##4B2A8D1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#384358
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2a8d;
/* rgb */ color: rgb(75, 42, 141);
/* oklch */ color: oklch(38.7% 0.154 293.1);
Tailwind
colors: {
  custom: {
    50: '#8366af',
    500: '#4b2a8d',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a8d;
$custom-light: #8366af;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a8d",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 260,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38723,
    "c": 0.15435,
    "h": 293.1
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#4B2A8D
secondary
#98B65D
accent
#DD4AAC
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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