#4B298E#4B298E

#4B298E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.157 H 293.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#4B298E
RGBrgb(75, 41, 142)
HSLhsl(260, 55%, 36%)
HSVhsv(260, 71%, 56%)
CMYKcmyk(47.2%, 71.1%, 0%, 44.3%)
CIE-LABlab(26.83, 39.63, -50.40)
CIE-LCHlch(26.83, 64.12, 308.18°)
OKLaboklab(38.67% 0.0614 -0.1443)
OKLCHoklch(38.67% 0.157 293)
XYZxyz(8.5757, 5.0345, 26.1058)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B298E #6C8E29
analogous
#29398E #4B298E #7D298E
triadic
#4B298E #8E4B29 #298E4B
tetradic
#4B298E #8E2939 #6C8E29 #298E7D
square
#4B298E #8E2939 #6C8E29 #298E7D
split-complementary
#4B298E #8E7D29 #398E29
monochromatic
#190E2F #321B5F #4B298E #6437BD #8660D1

Accessibility & contrast

On white

10.46
#4B298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4B298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B298E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B298E#FFFFFF#000000##FFFFFF
##4B298E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#374258
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b298e;
/* rgb */ color: rgb(75, 41, 142);
/* oklch */ color: oklch(38.7% 0.157 293.0);
Tailwind
colors: {
  custom: {
    50: '#8466b0',
    500: '#4b298e',
    950: '#000000',
  },
}
SCSS
$custom: #4b298e;
$custom-light: #8466b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b298e",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 260.198,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38668,
    "c": 0.15685,
    "h": 293
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#4B298E
secondary
#98B75C
accent
#DF49AC
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B298E

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

Preview Lab → · Contrast checker → · Palette generator →

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