#4B2B7F#4B2B7F

#4B2B7F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.135 H 296.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#4B2B7F
RGBrgb(75, 43, 127)
HSLhsl(263, 49%, 33%)
HSVhsv(263, 66%, 50%)
CMYKcmyk(40.9%, 66.1%, 0%, 50.2%)
CIE-LABlab(26.03, 34.21, -42.34)
CIE-LCHlch(26.03, 54.43, 308.94°)
OKLaboklab(37.71% 0.0613 -0.1207)
OKLCHoklch(37.71% 0.135 296.9)
XYZxyz(7.5953, 4.7558, 20.5923)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B7F #5F7F2B
analogous
#2B357F #4B2B7F #752B7F
triadic
#4B2B7F #7F4B2B #2B7F4B
tetradic
#4B2B7F #7F2B35 #5F7F2B #2B7F75
square
#4B2B7F #7F2B35 #5F7F2B #2B7F75
split-complementary
#4B2B7F #7F752B #357F2B
monochromatic
#150C24 #301C51 #4B2B7F #663AAD #855CC8

Accessibility & contrast

On white

10.76
#4B2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4B2B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B7F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B7F#FFFFFF#000000##FFFFFF
##4B2B7F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#3E3E51
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2b7f;
/* rgb */ color: rgb(75, 43, 127);
/* oklch */ color: oklch(37.7% 0.135 296.9);
Tailwind
colors: {
  custom: {
    50: '#8266a5',
    500: '#4b2b7f',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b7f;
$custom-light: #8266a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b7f",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 262.857,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37708,
    "c": 0.13534,
    "h": 296.9
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#4B2B7F
secondary
#8DAE58
accent
#D94FA4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B2B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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