#4B2EAD#4B2EAD

#4B2EAD is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.189 H 285.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4B2EAD
RGBrgb(75, 46, 173)
HSLhsl(254, 58%, 43%)
HSVhsv(254, 73%, 68%)
CMYKcmyk(56.6%, 73.4%, 0%, 32.2%)
CIE-LABlab(30.56, 46.03, -63.17)
CIE-LCHlch(30.56, 78.16, 306.08°)
OKLaboklab(42.17% 0.0504 -0.1818)
OKLCHoklch(42.17% 0.189 285.5)
XYZxyz(11.4192, 6.4663, 40.1735)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EAD #90AD2E
analogous
#2E50AD #4B2EAD #8A2EAD
triadic
#4B2EAD #AD4B2E #2EAD4B
tetradic
#4B2EAD #AD2E50 #90AD2E #2EAD8A
square
#4B2EAD #AD2E50 #90AD2E #2EAD8A
split-complementary
#4B2EAD #AD8A2E #50AD2E
monochromatic
#21144C #36217D #4B2EAD #6849CF #907ADC

Accessibility & contrast

On white

9.16
#4B2EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4B2EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EAD
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EAD#FFFFFF#000000##FFFFFF
##4B2EAD1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#1C516B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2ead;
/* rgb */ color: rgb(75, 46, 173);
/* oklch */ color: oklch(42.2% 0.189 285.5);
Tailwind
colors: {
  custom: {
    50: '#886ac7',
    500: '#4b2ead',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ead;
$custom-light: #886ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ead",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 253.701,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42168,
    "c": 0.18867,
    "h": 285.5
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#4B2EAD
secondary
#B1C473
accent
#E147BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B2EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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