#4B2485#4B2485

#4B2485 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.152 H 296.6°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#4B2485
RGBrgb(75, 36, 133)
HSLhsl(264, 57%, 33%)
HSVhsv(264, 73%, 52%)
CMYKcmyk(43.6%, 72.9%, 0%, 47.8%)
CIE-LABlab(25.11, 39.76, -47.60)
CIE-LCHlch(25.11, 62.02, 309.87°)
OKLaboklab(37.2% 0.0683 -0.1361)
OKLCHoklch(37.2% 0.152 296.6)
XYZxyz(7.7651, 4.4509, 22.6357)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2485 #5E8524
analogous
#242D85 #4B2485 #7B2485
triadic
#4B2485 #854B24 #24854B
tetradic
#4B2485 #85242D #5E8524 #24857B
square
#4B2485 #85242D #5E8524 #24857B
split-complementary
#4B2485 #857B24 #2D8524
monochromatic
#150A25 #301755 #4B2485 #6631B5 #8553D0

Accessibility & contrast

On white

11.11
#4B2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4B2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2485
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2485#FFFFFF#000000##FFFFFF
##4B24851.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#3C3C52
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2485;
/* rgb */ color: rgb(75, 36, 133);
/* oklch */ color: oklch(37.2% 0.152 296.6);
Tailwind
colors: {
  custom: {
    50: '#8362a9',
    500: '#4b2485',
    950: '#000000',
  },
}
SCSS
$custom: #4b2485;
$custom-light: #8362a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2485",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 264.124,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37203,
    "c": 0.15226,
    "h": 296.6
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#4B2485
secondary
#8CB450
accent
#E147A3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B2485

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

Preview Lab → · Contrast checker → · Palette generator →

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