#4B2392#4B2392

#4B2392 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.169 H 293.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#4B2392
RGBrgb(75, 35, 146)
HSLhsl(262, 61%, 35%)
HSVhsv(262, 76%, 57%)
CMYKcmyk(48.6%, 76%, 0%, 42.7%)
CIE-LABlab(26.08, 43.87, -54.11)
CIE-LCHlch(26.08, 69.66, 309.04°)
OKLaboklab(38.24% 0.0662 -0.1552)
OKLCHoklch(38.24% 0.169 293.1)
XYZxyz(8.6895, 4.7730, 27.6520)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2392 #6A9223
analogous
#233292 #4B2392 #832392
triadic
#4B2392 #924B23 #23924B
tetradic
#4B2392 #922332 #6A9223 #239283
square
#4B2392 #922332 #6A9223 #239283
split-complementary
#4B2392 #928323 #329223
monochromatic
#180B2F #321761 #4B2392 #642FC3 #8658D7

Accessibility & contrast

On white

10.74
#4B2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4B2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2392
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2392#FFFFFF#000000##FFFFFF
##4B23921.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#354159
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2392;
/* rgb */ color: rgb(75, 35, 146);
/* oklch */ color: oklch(38.2% 0.169 293.1);
Tailwind
colors: {
  custom: {
    50: '#8562b3',
    500: '#4b2392',
    950: '#000000',
  },
}
SCSS
$custom: #4b2392;
$custom-light: #8562b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2392",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 261.622,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38242,
    "c": 0.16872,
    "h": 293.1
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#4B2392
secondary
#97BB55
accent
#E443AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2392

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

Preview Lab → · Contrast checker → · Palette generator →

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