#4B2F83#4B2F83

#4B2F83 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.135 H 294.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4B2F83
RGBrgb(75, 47, 131)
HSLhsl(260, 47%, 35%)
HSVhsv(260, 64%, 51%)
CMYKcmyk(42.7%, 64.1%, 0%, 48.6%)
CIE-LABlab(27.21, 33.01, -42.94)
CIE-LCHlch(27.21, 54.17, 307.55°)
OKLaboklab(38.66% 0.0561 -0.1224)
OKLCHoklch(38.66% 0.135 294.6)
XYZxyz(8.0138, 5.1674, 22.0435)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2F83 #67832F
analogous
#2F3D83 #4B2F83 #752F83
triadic
#4B2F83 #834B2F #2F834B
tetradic
#4B2F83 #832F3D #67832F #2F8375
square
#4B2F83 #832F3D #67832F #2F8375
split-complementary
#4B2F83 #83752F #3D832F
monochromatic
#170F29 #311F56 #4B2F83 #653FB0 #8665C8

Accessibility & contrast

On white

10.33
#4B2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4B2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2F83
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2F83#FFFFFF#000000##FFFFFF
##4B2F831.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#3C4254
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2f83;
/* rgb */ color: rgb(75, 47, 131);
/* oklch */ color: oklch(38.7% 0.135 294.6);
Tailwind
colors: {
  custom: {
    50: '#8269a8',
    500: '#4b2f83',
    950: '#000000',
  },
}
SCSS
$custom: #4b2f83;
$custom-light: #8269a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2f83",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 260,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3866,
    "c": 0.13469,
    "h": 294.6
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#4B2F83
secondary
#94AF5F
accent
#D751AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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