#4B2B8A#4B2B8A

#4B2B8A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.149 H 293.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4B2B8A
RGBrgb(75, 43, 138)
HSLhsl(260, 52%, 35%)
HSVhsv(260, 69%, 54%)
CMYKcmyk(45.7%, 68.8%, 0%, 45.9%)
CIE-LABlab(26.90, 37.37, -47.81)
CIE-LCHlch(26.90, 60.68, 308.02°)
OKLaboklab(38.61% 0.06 -0.1367)
OKLCHoklch(38.61% 0.149 293.7)
XYZxyz(8.3517, 5.0583, 24.5762)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B8A #6A8A2B
analogous
#2B3A8A #4B2B8A #7A2B8A
triadic
#4B2B8A #8A4B2B #2B8A4B
tetradic
#4B2B8A #8A2B3A #6A8A2B #2B8A7A
square
#4B2B8A #8A2B3A #6A8A2B #2B8A7A
split-complementary
#4B2B8A #8A7A2B #3A8A2B
monochromatic
#180E2D #321C5B #4B2B8A #643AB9 #8661CE

Accessibility & contrast

On white

10.44
#4B2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4B2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B8A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B8A#FFFFFF#000000##FFFFFF
##4B2B8A1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2b8a;
/* rgb */ color: rgb(75, 43, 138);
/* oklch */ color: oklch(38.6% 0.149 293.7);
Tailwind
colors: {
  custom: {
    50: '#8367ad',
    500: '#4b2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b8a;
$custom-light: #8367ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b8a",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 260.211,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38612,
    "c": 0.1493,
    "h": 293.7
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#4B2B8A
secondary
#97B45D
accent
#DC4CAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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