#4B2E7B#4B2E7B

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

Color values

HEX#4B2E7B
RGBrgb(75, 46, 123)
HSLhsl(263, 46%, 33%)
HSVhsv(263, 63%, 48%)
CMYKcmyk(39%, 62.6%, 0%, 51.8%)
CIE-LABlab(26.39, 31.30, -39.23)
CIE-LCHlch(26.39, 50.18, 308.58°)
OKLaboklab(37.88% 0.0578 -0.1115)
OKLCHoklch(37.88% 0.126 297.4)
XYZxyz(7.4529, 4.8798, 19.2843)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2E7B #5E7B2E
analogous
#2E387B #4B2E7B #712E7B
triadic
#4B2E7B #7B4B2E #2E7B4B
tetradic
#4B2E7B #7B2E38 #5E7B2E #2E7B71
square
#4B2E7B #7B2E38 #5E7B2E #2E7B71
split-complementary
#4B2E7B #7B712E #387B2E
monochromatic
#150D22 #301D4E #4B2E7B #663FA8 #8560C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B2E7B#FFFFFF#000000##FFFFFF
##4B2E7B1.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)
#003F7D
Deuteranopia (green-blind)
#0D3E79
Tritanopia (blue-blind)
#403F50
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2e7b;
/* rgb */ color: rgb(75, 46, 123);
/* oklch */ color: oklch(37.9% 0.126 297.4);
Tailwind
colors: {
  custom: {
    50: '#8168a2',
    500: '#4b2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #4b2e7b;
$custom-light: #8168a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2e7b",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 262.597,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37877,
    "c": 0.12562,
    "h": 297.4
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#4B2E7B
secondary
#8CAA5B
accent
#D553A4
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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