#4B2DAE#4B2DAE

#4B2DAE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.191 H 285.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4B2DAE
RGBrgb(75, 45, 174)
HSLhsl(254, 59%, 43%)
HSVhsv(254, 74%, 68%)
CMYKcmyk(56.9%, 74.1%, 0%, 31.8%)
CIE-LABlab(30.47, 46.85, -63.92)
CIE-LCHlch(30.47, 79.25, 306.24°)
OKLaboklab(42.13% 0.0509 -0.184)
OKLCHoklch(42.13% 0.191 285.5)
XYZxyz(11.4777, 6.4279, 40.6721)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DAE #90AE2D
analogous
#2D50AE #4B2DAE #8B2DAE
triadic
#4B2DAE #AE4B2D #2DAE4B
tetradic
#4B2DAE #AE2D50 #90AE2D #2DAE8B
square
#4B2DAE #AE2D50 #90AE2D #2DAE8B
split-complementary
#4B2DAE #AE8B2D #50AE2D
monochromatic
#21144D #36207D #4B2DAE #6848D0 #9079DC

Accessibility & contrast

On white

9.19
#4B2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2DAE
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DAE#FFFFFF#000000##FFFFFF
##4B2DAE1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#1B516B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2dae;
/* rgb */ color: rgb(75, 45, 174);
/* oklch */ color: oklch(42.1% 0.191 285.5);
Tailwind
colors: {
  custom: {
    50: '#8869c7',
    500: '#4b2dae',
    950: '#000000',
  },
}
SCSS
$custom: #4b2dae;
$custom-light: #8869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2dae",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 253.953,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42131,
    "c": 0.19093,
    "h": 285.5
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#4B2DAE
secondary
#B1C472
accent
#E246BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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