#4B2FAA#4B2FAA

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

Color values

HEX#4B2FAA
RGBrgb(75, 47, 170)
HSLhsl(254, 57%, 43%)
HSVhsv(254, 72%, 67%)
CMYKcmyk(55.9%, 72.4%, 0%, 33.3%)
CIE-LABlab(30.47, 44.61, -61.51)
CIE-LCHlch(30.47, 75.98, 305.95°)
OKLaboklab(42.02% 0.0502 -0.177)
OKLCHoklch(42.02% 0.184 285.8)
XYZxyz(11.1717, 6.4305, 38.6750)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FAA #8EAA2F
analogous
#2F50AA #4B2FAA #892FAA
triadic
#4B2FAA #AA4B2F #2FAA4B
tetradic
#4B2FAA #AA2F50 #8EAA2F #2FAA89
square
#4B2FAA #AA2F50 #8EAA2F #2FAA89
split-complementary
#4B2FAA #AA892F #50AA2F
monochromatic
#21144A #36227A #4B2FAA #6749CD #8F79DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B2FAA#FFFFFF#000000##FFFFFF
##4B2FAA1.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)
#004BAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#205069
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2faa;
/* rgb */ color: rgb(75, 47, 170);
/* oklch */ color: oklch(42.0% 0.184 285.8);
Tailwind
colors: {
  custom: {
    50: '#886ac4',
    500: '#4b2faa',
    950: '#000000',
  },
}
SCSS
$custom: #4b2faa;
$custom-light: #886ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2faa",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 253.659,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.18396,
    "h": 285.8
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#4B2FAA
secondary
#B0C272
accent
#E048BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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