#4B249B#4B249B

#4B249B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.178 H 290.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4B249B
RGBrgb(75, 36, 155)
HSLhsl(260, 62%, 37%)
HSVhsv(260, 77%, 61%)
CMYKcmyk(51.6%, 76.8%, 0%, 39.2%)
CIE-LABlab(27.08, 45.90, -57.99)
CIE-LCHlch(27.08, 73.95, 308.37°)
OKLaboklab(39.21% 0.0629 -0.1666)
OKLCHoklch(39.21% 0.178 290.7)
XYZxyz(9.4472, 5.1238, 31.4952)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B249B #749B24
analogous
#24389B #4B249B #87249B
triadic
#4B249B #9B4B24 #249B4B
tetradic
#4B249B #9B2438 #749B24 #249B87
square
#4B249B #9B2438 #749B24 #249B87
split-complementary
#4B249B #9B8724 #389B24
monochromatic
#1B0D38 #331869 #4B249B #6330CD #885FDA

Accessibility & contrast

On white

10.37
#4B249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B249B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B249B#FFFFFF#000000##FFFFFF
##4B249B1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#2F455E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b249b;
/* rgb */ color: rgb(75, 36, 155);
/* oklch */ color: oklch(39.2% 0.178 290.7);
Tailwind
colors: {
  custom: {
    50: '#8663ba',
    500: '#4b249b',
    950: '#000000',
  },
}
SCSS
$custom: #4b249b;
$custom-light: #8663ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b249b",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 259.664,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39205,
    "c": 0.17806,
    "h": 290.7
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#4B249B
secondary
#9EBF5C
accent
#E542B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4B249B

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

Preview Lab → · Contrast checker → · Palette generator →

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