#4B299A#4B299A

#4B299A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.171 H 290.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4B299A
RGBrgb(75, 41, 154)
HSLhsl(258, 58%, 38%)
HSVhsv(258, 73%, 60%)
CMYKcmyk(51.3%, 73.4%, 0%, 39.6%)
CIE-LABlab(27.88, 43.09, -56.06)
CIE-LCHlch(27.88, 70.71, 307.55°)
OKLaboklab(39.74% 0.0589 -0.161)
OKLCHoklch(39.74% 0.171 290.1)
XYZxyz(9.5256, 5.4144, 31.1088)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B299A #789A29
analogous
#293F9A #4B299A #83299A
triadic
#4B299A #9A4B29 #299A4B
tetradic
#4B299A #9A293F #789A29 #299A83
square
#4B299A #9A293F #789A29 #299A83
split-complementary
#4B299A #9A8329 #3F9A29
monochromatic
#1C0F39 #331C6A #4B299A #6337CA #8867D7

Accessibility & contrast

On white

10.08
#4B299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B299A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B299A#FFFFFF#000000##FFFFFF
##4B299A1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b299a;
/* rgb */ color: rgb(75, 41, 154);
/* oklch */ color: oklch(39.7% 0.171 290.1);
Tailwind
colors: {
  custom: {
    50: '#8566b9',
    500: '#4b299a',
    950: '#000000',
  },
}
SCSS
$custom: #4b299a;
$custom-light: #8566b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b299a",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 258.053,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39741,
    "c": 0.17141,
    "h": 290.1
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#4B299A
secondary
#A1BD62
accent
#E147B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B299A

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

Preview Lab → · Contrast checker → · Palette generator →

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