#4B249A#4B249A

#4B249A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.177 H 290.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4B249A
RGBrgb(75, 36, 154)
HSLhsl(260, 62%, 37%)
HSVhsv(260, 77%, 60%)
CMYKcmyk(51.3%, 76.6%, 0%, 39.6%)
CIE-LABlab(26.99, 45.62, -57.53)
CIE-LCHlch(26.99, 73.42, 308.42°)
OKLaboklab(39.11% 0.0632 -0.1652)
OKLCHoklch(39.11% 0.177 290.9)
XYZxyz(9.3636, 5.0903, 31.0547)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B249A #739A24
analogous
#24389A #4B249A #86249A
triadic
#4B249A #9A4B24 #249A4B
tetradic
#4B249A #9A2438 #739A24 #249A86
square
#4B249A #9A2438 #739A24 #249A86
split-complementary
#4B249A #9A8624 #389A24
monochromatic
#1B0D37 #331868 #4B249A #6330CC #875FDA

Accessibility & contrast

On white

10.41
#4B249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4B249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B249A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B249A#FFFFFF#000000##FFFFFF
##4B249A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#30445E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b249a;
/* rgb */ color: rgb(75, 36, 154);
/* oklch */ color: oklch(39.1% 0.177 290.9);
Tailwind
colors: {
  custom: {
    50: '#8663b9',
    500: '#4b249a',
    950: '#000000',
  },
}
SCSS
$custom: #4b249a;
$custom-light: #8663b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b249a",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 259.831,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.17691,
    "h": 290.9
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#4B249A
secondary
#9EBF5B
accent
#E543AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4B249A

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

Preview Lab → · Contrast checker → · Palette generator →

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