#4B299D#4B299D

#4B299D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.175 H 289.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4B299D
RGBrgb(75, 41, 157)
HSLhsl(258, 59%, 39%)
HSVhsv(258, 74%, 62%)
CMYKcmyk(52.2%, 73.9%, 0%, 38.4%)
CIE-LABlab(28.16, 43.96, -57.45)
CIE-LCHlch(28.16, 72.34, 307.42°)
OKLaboklab(40.02% 0.0582 -0.165)
OKLCHoklch(40.02% 0.175 289.4)
XYZxyz(9.7786, 5.5156, 32.4411)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B299D #7B9D29
analogous
#29419D #4B299D #85299D
triadic
#4B299D #9D4B29 #299D4B
tetradic
#4B299D #9D2941 #7B9D29 #299D85
square
#4B299D #9D2941 #7B9D29 #299D85
split-complementary
#4B299D #9D8529 #419D29
monochromatic
#1D103C #341C6C #4B299D #6338CB #8969D8

Accessibility & contrast

On white

9.98
#4B299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4B299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B299D
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B299D#FFFFFF#000000##FFFFFF
##4B299D1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#2D4860
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b299d;
/* rgb */ color: rgb(75, 41, 157);
/* oklch */ color: oklch(40.0% 0.175 289.4);
Tailwind
colors: {
  custom: {
    50: '#8666bb',
    500: '#4b299d',
    950: '#000000',
  },
}
SCSS
$custom: #4b299d;
$custom-light: #8666bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b299d",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 257.586,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40017,
    "c": 0.17501,
    "h": 289.4
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#4B299D
secondary
#A4BE64
accent
#E246B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B299D

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

Preview Lab → · Contrast checker → · Palette generator →

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