#4B296D#4B296D

#4B296D is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.115 H 304.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#4B296D
RGBrgb(75, 41, 109)
HSLhsl(270, 45%, 29%)
HSVhsv(270, 62%, 43%)
CMYKcmyk(31.2%, 62.4%, 0%, 57.3%)
CIE-LABlab(24.28, 30.38, -33.70)
CIE-LCHlch(24.28, 45.37, 312.04°)
OKLaboklab(36.02% 0.0649 -0.0953)
OKLCHoklch(36.02% 0.115 304.3)
XYZxyz(6.4543, 4.1859, 14.9330)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B296D #4B6D29
analogous
#29296D #4B296D #6D296D
triadic
#4B296D #6D4B29 #296D4B
tetradic
#4B296D #6D2929 #4B6D29 #296D6D
square
#4B296D #6D2929 #4B6D29 #296D6D
split-complementary
#4B296D #6D6D29 #296D29
monochromatic
#0F0816 #2C1841 #4B296D #6A3A99 #8852BE

Accessibility & contrast

On white

11.43
#4B296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B296D
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B296D#FFFFFF#000000##FFFFFF
##4B296D1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09396F
Deuteranopia (green-blind)
#1A3A6B
Tritanopia (blue-blind)
#453747
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b296d;
/* rgb */ color: rgb(75, 41, 109);
/* oklch */ color: oklch(36.0% 0.115 304.3);
Tailwind
colors: {
  custom: {
    50: '#806497',
    500: '#4b296d',
    950: '#000000',
  },
}
SCSS
$custom: #4b296d;
$custom-light: #806497;
$custom-dark: #000000;
JSON
{
  "hex": "#4b296d",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 270,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36018,
    "c": 0.11527,
    "h": 304.3
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#4B296D
secondary
#799F53
accent
#D55394
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #4B296D

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

Preview Lab → · Contrast checker → · Palette generator →

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