#4B298D#4B298D

#4B298D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.156 H 293.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#4B298D
RGBrgb(75, 41, 141)
HSLhsl(260, 55%, 36%)
HSVhsv(260, 71%, 55%)
CMYKcmyk(46.8%, 70.9%, 0%, 44.7%)
CIE-LABlab(26.75, 39.35, -49.92)
CIE-LCHlch(26.75, 63.56, 308.25°)
OKLaboklab(38.58% 0.0616 -0.1429)
OKLCHoklch(38.58% 0.156 293.3)
XYZxyz(8.5010, 5.0046, 25.7122)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B298D #6B8D29
analogous
#29398D #4B298D #7D298D
triadic
#4B298D #8D4B29 #298D4B
tetradic
#4B298D #8D2939 #6B8D29 #298D7D
square
#4B298D #8D2939 #6B8D29 #298D7D
split-complementary
#4B298D #8D7D29 #398D29
monochromatic
#190D2E #321B5E #4B298D #6437BC #8660D1

Accessibility & contrast

On white

10.49
#4B298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4B298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B298D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B298D#FFFFFF#000000##FFFFFF
##4B298D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#384258
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b298d;
/* rgb */ color: rgb(75, 41, 141);
/* oklch */ color: oklch(38.6% 0.156 293.3);
Tailwind
colors: {
  custom: {
    50: '#8465af',
    500: '#4b298d',
    950: '#000000',
  },
}
SCSS
$custom: #4b298d;
$custom-light: #8465af;
$custom-dark: #000000;
JSON
{
  "hex": "#4b298d",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 260.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38581,
    "c": 0.15563,
    "h": 293.3
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#4B298D
secondary
#97B65B
accent
#DE4AAC
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B298D

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

Preview Lab → · Contrast checker → · Palette generator →

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