#4B2B83#4B2B83

#4B2B83 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.140 H 295.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#4B2B83
RGBrgb(75, 43, 131)
HSLhsl(262, 51%, 34%)
HSVhsv(262, 67%, 51%)
CMYKcmyk(42.7%, 67.2%, 0%, 48.6%)
CIE-LABlab(26.34, 35.36, -44.35)
CIE-LCHlch(26.34, 56.72, 308.56°)
OKLaboklab(38.03% 0.0609 -0.1266)
OKLCHoklch(38.03% 0.14 295.7)
XYZxyz(7.8612, 4.8621, 21.9926)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B83 #63832B
analogous
#2B3783 #4B2B83 #772B83
triadic
#4B2B83 #834B2B #2B834B
tetradic
#4B2B83 #832B37 #63832B #2B8377
square
#4B2B83 #832B37 #63832B #2B8377
split-complementary
#4B2B83 #83772B #37832B
monochromatic
#160D27 #311C55 #4B2B83 #653AB1 #855ECA

Accessibility & contrast

On white

10.65
#4B2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4B2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B83
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B83#FFFFFF#000000##FFFFFF
##4B2B831.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#3C3F53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2b83;
/* rgb */ color: rgb(75, 43, 131);
/* oklch */ color: oklch(38.0% 0.140 295.7);
Tailwind
colors: {
  custom: {
    50: '#8266a8',
    500: '#4b2b83',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b83;
$custom-light: #8266a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b83",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 261.818,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.14045,
    "h": 295.7
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#4B2B83
secondary
#91B05A
accent
#DA4EA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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