#4B2D71#4B2D71

#4B2D71 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.0% C 0.114 H 301.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4B2D71
RGBrgb(75, 45, 113)
HSLhsl(266, 43%, 31%)
HSVhsv(266, 60%, 44%)
CMYKcmyk(33.6%, 60.2%, 0%, 55.7%)
CIE-LABlab(25.46, 29.08, -34.37)
CIE-LCHlch(25.46, 45.02, 310.23°)
OKLaboklab(36.97% 0.0593 -0.0972)
OKLCHoklch(36.97% 0.114 301.4)
XYZxyz(6.8200, 4.5649, 16.1414)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D71 #53712D
analogous
#2D3171 #4B2D71 #6D2D71
triadic
#4B2D71 #714B2D #2D714B
tetradic
#4B2D71 #712D31 #53712D #2D716D
square
#4B2D71 #712D31 #53712D #2D716D
split-complementary
#4B2D71 #716D2D #31712D
monochromatic
#110A19 #2E1C45 #4B2D71 #683E9D #865BBE

Accessibility & contrast

On white

10.98
#4B2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4B2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D71
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D71#FFFFFF#000000##FFFFFF
##4B2D711.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#1B3C6F
Tritanopia (blue-blind)
#433B4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2d71;
/* rgb */ color: rgb(75, 45, 113);
/* oklch */ color: oklch(37.0% 0.114 301.4);
Tailwind
colors: {
  custom: {
    50: '#80679a',
    500: '#4b2d71',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d71;
$custom-light: #80679a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d71",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 266.471,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3697,
    "c": 0.11392,
    "h": 301.4
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#4B2D71
secondary
#81A357
accent
#D3559B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4B2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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