#4B2999#4B2999

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

Color values

HEX#4B2999
RGBrgb(75, 41, 153)
HSLhsl(258, 58%, 38%)
HSVhsv(258, 73%, 60%)
CMYKcmyk(51%, 73.2%, 0%, 40%)
CIE-LABlab(27.79, 42.80, -55.60)
CIE-LCHlch(27.79, 70.17, 307.59°)
OKLaboklab(39.65% 0.0591 -0.1596)
OKLCHoklch(39.65% 0.17 290.3)
XYZxyz(9.4427, 5.3813, 30.6720)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2999 #779929
analogous
#293F99 #4B2999 #832999
triadic
#4B2999 #994B29 #29994B
tetradic
#4B2999 #99293F #779929 #299983
square
#4B2999 #99293F #779929 #299983
split-complementary
#4B2999 #998329 #3F9929
monochromatic
#1C0F38 #331C69 #4B2999 #6336C9 #8866D6

Accessibility & contrast

On white

10.11
#4B2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2999
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2999#FFFFFF#000000##FFFFFF
##4B29991.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#30475E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b2999;
/* rgb */ color: rgb(75, 41, 153);
/* oklch */ color: oklch(39.6% 0.170 290.3);
Tailwind
colors: {
  custom: {
    50: '#8566b8',
    500: '#4b2999',
    950: '#000000',
  },
}
SCSS
$custom: #4b2999;
$custom-light: #8566b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2999",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 258.214,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3965,
    "c": 0.17021,
    "h": 290.3
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#4B2999
secondary
#A1BC62
accent
#E147B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2999

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

Preview Lab → · Contrast checker → · Palette generator →

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