#4B299E#4B299E

#4B299E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.176 H 289.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4B299E
RGBrgb(75, 41, 158)
HSLhsl(257, 59%, 39%)
HSVhsv(257, 74%, 62%)
CMYKcmyk(52.5%, 74.1%, 0%, 38%)
CIE-LABlab(28.25, 44.25, -57.91)
CIE-LCHlch(28.25, 72.88, 307.38°)
OKLaboklab(40.11% 0.058 -0.1664)
OKLCHoklch(40.11% 0.176 289.2)
XYZxyz(9.8644, 5.5499, 32.8926)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B299E #7C9E29
analogous
#29429E #4B299E #86299E
triadic
#4B299E #9E4B29 #299E4B
tetradic
#4B299E #9E2942 #7C9E29 #299E86
square
#4B299E #9E2942 #7C9E29 #299E86
split-complementary
#4B299E #9E8629 #429E29
monochromatic
#1D103D #341C6D #4B299E #6339CC #8969D8

Accessibility & contrast

On white

9.95
#4B299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4B299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B299E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B299E#FFFFFF#000000##FFFFFF
##4B299E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#2C4861
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b299e;
/* rgb */ color: rgb(75, 41, 158);
/* oklch */ color: oklch(40.1% 0.176 289.2);
Tailwind
colors: {
  custom: {
    50: '#8666bc',
    500: '#4b299e',
    950: '#000000',
  },
}
SCSS
$custom: #4b299e;
$custom-light: #8666bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b299e",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 257.436,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.17619,
    "h": 289.2
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#4B299E
secondary
#A4BF64
accent
#E246B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B299E

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

Preview Lab → · Contrast checker → · Palette generator →

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