#4B2A93#4B2A93

#4B2A93 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.162 H 291.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4B2A93
RGBrgb(75, 42, 147)
HSLhsl(259, 56%, 37%)
HSVhsv(259, 71%, 58%)
CMYKcmyk(49%, 71.4%, 0%, 42.4%)
CIE-LABlab(27.46, 40.53, -52.47)
CIE-LCHlch(27.46, 66.30, 307.69°)
OKLaboklab(39.25% 0.0594 -0.1504)
OKLCHoklch(39.25% 0.162 291.6)
XYZxyz(8.9946, 5.2580, 28.1391)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A93 #72932A
analogous
#2A3E93 #4B2A93 #802A93
triadic
#4B2A93 #934B2A #2A934B
tetradic
#4B2A93 #932A3E #72932A #2A9380
square
#4B2A93 #932A3E #72932A #2A9380
split-complementary
#4B2A93 #93802A #3E932A
monochromatic
#1A0F34 #331C63 #4B2A93 #6338C3 #8765D3

Accessibility & contrast

On white

10.24
#4B2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4B2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A93
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A93#FFFFFF#000000##FFFFFF
##4B2A931.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#34455B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2a93;
/* rgb */ color: rgb(75, 42, 147);
/* oklch */ color: oklch(39.2% 0.162 291.6);
Tailwind
colors: {
  custom: {
    50: '#8466b4',
    500: '#4b2a93',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a93;
$custom-light: #8466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a93",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 258.857,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39247,
    "c": 0.16174,
    "h": 291.6
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#4B2A93
secondary
#9DB960
accent
#DF49B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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