#4B2099#4B2099

#4B2099 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.180 H 291.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#4B2099
RGBrgb(75, 32, 153)
HSLhsl(261, 65%, 36%)
HSVhsv(261, 79%, 60%)
CMYKcmyk(51%, 79.1%, 0%, 40%)
CIE-LABlab(26.24, 47.22, -58.15)
CIE-LCHlch(26.24, 74.91, 309.08°)
OKLaboklab(38.56% 0.0667 -0.167)
OKLCHoklch(38.56% 0.18 291.8)
XYZxyz(9.1663, 4.8284, 30.5798)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2099 #6E9920
analogous
#203299 #4B2099 #882099
triadic
#4B2099 #994B20 #20994B
tetradic
#4B2099 #992032 #6E9920 #209988
square
#4B2099 #992032 #6E9920 #209988
split-complementary
#4B2099 #998820 #329920
monochromatic
#190B34 #321566 #4B2099 #642BCC #8757DC

Accessibility & contrast

On white

10.68
#4B2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4B2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2099
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2099#FFFFFF#000000##FFFFFF
##4B20991.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#31425C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2099;
/* rgb */ color: rgb(75, 32, 153);
/* oklch */ color: oklch(38.6% 0.180 291.8);
Tailwind
colors: {
  custom: {
    50: '#8661b8',
    500: '#4b2099',
    950: '#000000',
  },
}
SCSS
$custom: #4b2099;
$custom-light: #8661b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2099",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 261.322,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38557,
    "c": 0.17983,
    "h": 291.8
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#4B2099
secondary
#9AC055
accent
#E83FAC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2099

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

Preview Lab → · Contrast checker → · Palette generator →

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