#4B2D7E#4B2D7E

#4B2D7E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.131 H 296.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#4B2D7E
RGBrgb(75, 45, 126)
HSLhsl(262, 47%, 34%)
HSVhsv(262, 64%, 49%)
CMYKcmyk(40.5%, 64.3%, 0%, 50.6%)
CIE-LABlab(26.39, 32.75, -41.13)
CIE-LCHlch(26.39, 52.58, 308.53°)
OKLaboklab(37.95% 0.0589 -0.1171)
OKLCHoklch(37.95% 0.131 296.7)
XYZxyz(7.6050, 4.8789, 20.2757)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D7E #607E2D
analogous
#2D377E #4B2D7E #732D7E
triadic
#4B2D7E #7E4B2D #2D7E4B
tetradic
#4B2D7E #7E2D37 #607E2D #2D7E73
square
#4B2D7E #7E2D37 #607E2D #2D7E73
split-complementary
#4B2D7E #7E732D #377E2D
monochromatic
#150D24 #301D51 #4B2D7E #663DAB #855FC6

Accessibility & contrast

On white

10.63
#4B2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4B2D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D7E
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D7E#FFFFFF#000000##FFFFFF
##4B2D7E1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#033D7C
Tritanopia (blue-blind)
#3F3F51
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2d7e;
/* rgb */ color: rgb(75, 45, 126);
/* oklch */ color: oklch(37.9% 0.131 296.7);
Tailwind
colors: {
  custom: {
    50: '#8167a4',
    500: '#4b2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d7e;
$custom-light: #8167a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d7e",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 262.222,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37945,
    "c": 0.13109,
    "h": 296.7
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#4B2D7E
secondary
#8EAC5A
accent
#D751A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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