#4B299F#4B299F

#4B299F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.177 H 289.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4B299F
RGBrgb(75, 41, 159)
HSLhsl(257, 59%, 39%)
HSVhsv(257, 74%, 62%)
CMYKcmyk(52.8%, 74.2%, 0%, 37.6%)
CIE-LABlab(28.34, 44.54, -58.37)
CIE-LCHlch(28.34, 73.42, 307.35°)
OKLaboklab(40.2% 0.0577 -0.1677)
OKLCHoklch(40.2% 0.177 289)
XYZxyz(9.9508, 5.5845, 33.3478)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B299F #7D9F29
analogous
#29429F #4B299F #86299F
triadic
#4B299F #9F4B29 #299F4B
tetradic
#4B299F #9F2942 #7D9F29 #299F86
square
#4B299F #9F2942 #7D9F29 #299F86
split-complementary
#4B299F #9F8629 #429F29
monochromatic
#1D103E #341C6E #4B299F #6439CC #8A6AD9

Accessibility & contrast

On white

9.92
#4B299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4B299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B299F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B299F#FFFFFF#000000##FFFFFF
##4B299F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#2B4962
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b299f;
/* rgb */ color: rgb(75, 41, 159);
/* oklch */ color: oklch(40.2% 0.177 289.0);
Tailwind
colors: {
  custom: {
    50: '#8666bc',
    500: '#4b299f',
    950: '#000000',
  },
}
SCSS
$custom: #4b299f;
$custom-light: #8666bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b299f",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 257.288,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40202,
    "c": 0.17739,
    "h": 289
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#4B299F
secondary
#A5BF65
accent
#E246B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B299F

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

Preview Lab → · Contrast checker → · Palette generator →

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