#4B2D89#4B2D89

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

Color values

HEX#4B2D89
RGBrgb(75, 45, 137)
HSLhsl(260, 51%, 36%)
HSVhsv(260, 67%, 54%)
CMYKcmyk(45.3%, 67.2%, 0%, 46.3%)
CIE-LABlab(27.24, 35.94, -46.64)
CIE-LCHlch(27.24, 58.88, 307.62°)
OKLaboklab(38.83% 0.0579 -0.1333)
OKLCHoklch(38.83% 0.145 293.5)
XYZxyz(8.3542, 5.1785, 24.2215)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D89 #6B892D
analogous
#2D3D89 #4B2D89 #792D89
triadic
#4B2D89 #894B2D #2D894B
tetradic
#4B2D89 #892D3D #6B892D #2D8979
square
#4B2D89 #892D3D #6B892D #2D8979
split-complementary
#4B2D89 #89792D #3D892D
monochromatic
#190F2D #321E5B #4B2D89 #643CB7 #8664CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B2D89#FFFFFF#000000##FFFFFF
##4B2D891.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#394357
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2d89;
/* rgb */ color: rgb(75, 45, 137);
/* oklch */ color: oklch(38.8% 0.145 293.5);
Tailwind
colors: {
  custom: {
    50: '#8368ac',
    500: '#4b2d89',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d89;
$custom-light: #8368ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d89",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 259.565,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.14532,
    "h": 293.5
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#4B2D89
secondary
#97B35F
accent
#DA4EAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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