#4B2B94#4B2B94

#4B2B94 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.162 H 291.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4B2B94
RGBrgb(75, 43, 148)
HSLhsl(258, 55%, 37%)
HSVhsv(258, 71%, 58%)
CMYKcmyk(49.3%, 70.9%, 0%, 42%)
CIE-LABlab(27.74, 40.28, -52.62)
CIE-LCHlch(27.74, 66.27, 307.43°)
OKLaboklab(39.48% 0.0583 -0.1509)
OKLCHoklch(39.48% 0.162 291.1)
XYZxyz(9.1093, 5.3614, 28.5661)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B94 #74942B
analogous
#2B3F94 #4B2B94 #802B94
triadic
#4B2B94 #944B2B #2B944B
tetradic
#4B2B94 #942B3F #74942B #2B9480
square
#4B2B94 #942B3F #74942B #2B9480
split-complementary
#4B2B94 #94802B #3F942B
monochromatic
#1B0F35 #331D65 #4B2B94 #6339C3 #8867D3

Accessibility & contrast

On white

10.13
#4B2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4B2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B94
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B94#FFFFFF#000000##FFFFFF
##4B2B941.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#33465C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2b94;
/* rgb */ color: rgb(75, 43, 148);
/* oklch */ color: oklch(39.5% 0.162 291.1);
Tailwind
colors: {
  custom: {
    50: '#8467b4',
    500: '#4b2b94',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b94;
$custom-light: #8467b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b94",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 258.286,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.16173,
    "h": 291.1
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#4B2B94
secondary
#9EB962
accent
#DE49B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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