#4B2E86#4B2E86

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

Color values

HEX#4B2E86
RGBrgb(75, 46, 134)
HSLhsl(260, 49%, 35%)
HSVhsv(260, 66%, 53%)
CMYKcmyk(44%, 65.7%, 0%, 47.5%)
CIE-LABlab(27.22, 34.48, -44.80)
CIE-LCHlch(27.22, 56.54, 307.58°)
OKLaboklab(38.74% 0.0571 -0.1279)
OKLCHoklch(38.74% 0.14 294)
XYZxyz(8.1806, 5.1709, 23.1167)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2E86 #69862E
analogous
#2E3D86 #4B2E86 #772E86
triadic
#4B2E86 #864B2E #2E864B
tetradic
#4B2E86 #862E3D #69862E #2E8677
square
#4B2E86 #862E3D #69862E #2E8677
split-complementary
#4B2E86 #86772E #3D862E
monochromatic
#180F2B #311E58 #4B2E86 #653EB4 #8664CA

Accessibility & contrast

On white

10.32
#4B2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2E86
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2E86#FFFFFF#000000##FFFFFF
##4B2E861.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#3B4255
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2e86;
/* rgb */ color: rgb(75, 46, 134);
/* oklch */ color: oklch(38.7% 0.140 294.0);
Tailwind
colors: {
  custom: {
    50: '#8268aa',
    500: '#4b2e86',
    950: '#000000',
  },
}
SCSS
$custom: #4b2e86;
$custom-light: #8268aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2e86",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 259.773,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3874,
    "c": 0.14005,
    "h": 294
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#4B2E86
secondary
#96B15F
accent
#D84FAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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