#4B2B95#4B2B95

#4B2B95 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.163 H 290.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4B2B95
RGBrgb(75, 43, 149)
HSLhsl(258, 55%, 38%)
HSVhsv(258, 71%, 58%)
CMYKcmyk(49.7%, 71.1%, 0%, 41.6%)
CIE-LABlab(27.83, 40.57, -53.09)
CIE-LCHlch(27.83, 66.82, 307.38°)
OKLaboklab(39.56% 0.0581 -0.1523)
OKLCHoklch(39.56% 0.163 290.9)
XYZxyz(9.1888, 5.3932, 28.9848)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B95 #75952B
analogous
#2B4095 #4B2B95 #802B95
triadic
#4B2B95 #954B2B #2B954B
tetradic
#4B2B95 #952B40 #75952B #2B9580
square
#4B2B95 #952B40 #75952B #2B9580
split-complementary
#4B2B95 #95802B #40952B
monochromatic
#1B1036 #331D66 #4B2B95 #6339C4 #8867D3

Accessibility & contrast

On white

10.10
#4B2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4B2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B95
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B95#FFFFFF#000000##FFFFFF
##4B2B951.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#33465D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b2b95;
/* rgb */ color: rgb(75, 43, 149);
/* oklch */ color: oklch(39.6% 0.163 290.9);
Tailwind
colors: {
  custom: {
    50: '#8567b5',
    500: '#4b2b95',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b95;
$custom-light: #8567b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b95",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 258.113,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39564,
    "c": 0.16297,
    "h": 290.9
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#4B2B95
secondary
#9FBA62
accent
#DF49B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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