#4B2393#4B2393

#4B2393 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.170 H 292.8°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4B2393
RGBrgb(75, 35, 147)
HSLhsl(261, 62%, 36%)
HSVhsv(261, 76%, 58%)
CMYKcmyk(49%, 76.2%, 0%, 42.4%)
CIE-LABlab(26.17, 44.15, -54.57)
CIE-LCHlch(26.17, 70.20, 308.98°)
OKLaboklab(38.34% 0.0659 -0.1566)
OKLCHoklch(38.34% 0.17 292.8)
XYZxyz(8.7677, 4.8042, 28.0634)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2393 #6B9323
analogous
#233393 #4B2393 #832393
triadic
#4B2393 #934B23 #23934B
tetradic
#4B2393 #932333 #6B9323 #239383
square
#4B2393 #932333 #6B9323 #239383
split-complementary
#4B2393 #938323 #339323
monochromatic
#190B30 #321762 #4B2393 #642FC4 #8659D7

Accessibility & contrast

On white

10.71
#4B2393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4B2393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2393
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2393#FFFFFF#000000##FFFFFF
##4B23931.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#344159
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2393;
/* rgb */ color: rgb(75, 35, 147);
/* oklch */ color: oklch(38.3% 0.170 292.8);
Tailwind
colors: {
  custom: {
    50: '#8562b4',
    500: '#4b2393',
    950: '#000000',
  },
}
SCSS
$custom: #4b2393;
$custom-light: #8562b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2393",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 261.429,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38335,
    "c": 0.16988,
    "h": 292.8
  },
  "luminance": 0.04805
}

Semantic roles & 50–950 ramp

primary
#4B2393
secondary
#97BC56
accent
#E543AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2393

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

Preview Lab → · Contrast checker → · Palette generator →

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