#4B2A8E#4B2A8E

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

Color values

HEX#4B2A8E
RGBrgb(75, 42, 142)
HSLhsl(260, 54%, 36%)
HSVhsv(260, 70%, 56%)
CMYKcmyk(47.2%, 70.4%, 0%, 44.3%)
CIE-LABlab(27.03, 39.09, -50.08)
CIE-LCHlch(27.03, 63.52, 307.97°)
OKLaboklab(38.81% 0.0604 -0.1434)
OKLCHoklch(38.81% 0.156 292.8)
XYZxyz(8.6108, 5.1045, 26.1175)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A8E #6D8E2A
analogous
#2A3B8E #4B2A8E #7D2A8E
triadic
#4B2A8E #8E4B2A #2A8E4B
tetradic
#4B2A8E #8E2A3B #6D8E2A #2A8E7D
square
#4B2A8E #8E2A3B #6D8E2A #2A8E7D
split-complementary
#4B2A8E #8E7D2A #3B8E2A
monochromatic
#190E30 #321C5F #4B2A8E #6438BD #8662D1

Accessibility & contrast

On white

10.39
#4B2A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2A8E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A8E#FFFFFF#000000##FFFFFF
##4B2A8E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#374358
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2a8e;
/* rgb */ color: rgb(75, 42, 142);
/* oklch */ color: oklch(38.8% 0.156 292.8);
Tailwind
colors: {
  custom: {
    50: '#8466b0',
    500: '#4b2a8e',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a8e;
$custom-light: #8466b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a8e",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 259.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38809,
    "c": 0.15559,
    "h": 292.8
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#4B2A8E
secondary
#99B65D
accent
#DE4AAD
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B2A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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