#4B299B#4B299B

#4B299B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.173 H 289.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4B299B
RGBrgb(75, 41, 155)
HSLhsl(258, 58%, 38%)
HSVhsv(258, 74%, 61%)
CMYKcmyk(51.6%, 73.5%, 0%, 39.2%)
CIE-LABlab(27.97, 43.38, -56.53)
CIE-LCHlch(27.97, 71.25, 307.51°)
OKLaboklab(39.83% 0.0587 -0.1623)
OKLCHoklch(39.83% 0.173 289.9)
XYZxyz(9.6093, 5.4479, 31.5492)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B299B #799B29
analogous
#29409B #4B299B #84299B
triadic
#4B299B #9B4B29 #299B4B
tetradic
#4B299B #9B2940 #799B29 #299B84
square
#4B299B #9B2940 #799B29 #299B84
split-complementary
#4B299B #9B8429 #409B29
monochromatic
#1C0F3A #341C6B #4B299B #6337CA #8967D7

Accessibility & contrast

On white

10.05
#4B299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4B299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B299B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B299B#FFFFFF#000000##FFFFFF
##4B299B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#2F475F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b299b;
/* rgb */ color: rgb(75, 41, 155);
/* oklch */ color: oklch(39.8% 0.173 289.9);
Tailwind
colors: {
  custom: {
    50: '#8666b9',
    500: '#4b299b',
    950: '#000000',
  },
}
SCSS
$custom: #4b299b;
$custom-light: #8666b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b299b",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 257.895,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.17261,
    "h": 289.9
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#4B299B
secondary
#A2BD63
accent
#E146B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B299B

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

Preview Lab → · Contrast checker → · Palette generator →

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