#4B2E87#4B2E87

#4B2E87 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.141 H 293.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4B2E87
RGBrgb(75, 46, 135)
HSLhsl(260, 49%, 35%)
HSVhsv(260, 66%, 53%)
CMYKcmyk(44.4%, 65.9%, 0%, 47.1%)
CIE-LABlab(27.29, 34.77, -45.30)
CIE-LCHlch(27.29, 57.11, 307.51°)
OKLaboklab(38.82% 0.057 -0.1294)
OKLCHoklch(38.82% 0.141 293.8)
XYZxyz(8.2506, 5.1989, 23.4858)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2E87 #6A872E
analogous
#2E3D87 #4B2E87 #772E87
triadic
#4B2E87 #874B2E #2E874B
tetradic
#4B2E87 #872E3D #6A872E #2E8777
square
#4B2E87 #872E3D #6A872E #2E8777
split-complementary
#4B2E87 #87772E #3D872E
monochromatic
#180F2C #321E59 #4B2E87 #643EB5 #8665CA

Accessibility & contrast

On white

10.30
#4B2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4B2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2E87
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2E87#FFFFFF#000000##FFFFFF
##4B2E871.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#3A4356
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2e87;
/* rgb */ color: rgb(75, 46, 135);
/* oklch */ color: oklch(38.8% 0.141 293.8);
Tailwind
colors: {
  custom: {
    50: '#8268ab',
    500: '#4b2e87',
    950: '#000000',
  },
}
SCSS
$custom: #4b2e87;
$custom-light: #8268ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2e87",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 259.551,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.14134,
    "h": 293.8
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#4B2E87
secondary
#97B160
accent
#D94FAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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