#4B2A7D#4B2A7D

#4B2A7D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.134 H 297.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#4B2A7D
RGBrgb(75, 42, 125)
HSLhsl(264, 50%, 33%)
HSVhsv(264, 66%, 49%)
CMYKcmyk(40%, 66.4%, 0%, 51%)
CIE-LABlab(25.66, 34.22, -41.67)
CIE-LCHlch(25.66, 53.92, 309.39°)
OKLaboklab(37.4% 0.0627 -0.1187)
OKLCHoklch(37.4% 0.134 297.8)
XYZxyz(7.4303, 4.6323, 19.9007)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A7D #5C7D2A
analogous
#2A337D #4B2A7D #742A7D
triadic
#4B2A7D #7D4B2A #2A7D4B
tetradic
#4B2A7D #7D2A33 #5C7D2A #2A7D74
square
#4B2A7D #7D2A33 #5C7D2A #2A7D74
split-complementary
#4B2A7D #7D742A #337D2A
monochromatic
#140B21 #301B4F #4B2A7D #6639AB #855AC8

Accessibility & contrast

On white

10.90
#4B2A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4B2A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A7D
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A7D#FFFFFF#000000##FFFFFF
##4B2A7D1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#3F3D4F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2a7d;
/* rgb */ color: rgb(75, 42, 125);
/* oklch */ color: oklch(37.4% 0.134 297.8);
Tailwind
colors: {
  custom: {
    50: '#8166a3',
    500: '#4b2a7d',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a7d;
$custom-light: #8166a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a7d",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 263.855,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37395,
    "c": 0.13424,
    "h": 297.8
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

primary
#4B2A7D
secondary
#8AAD56
accent
#D94FA2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B2A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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