#4B249C#4B249C

#4B249C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.179 H 290.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4B249C
RGBrgb(75, 36, 156)
HSLhsl(260, 63%, 38%)
HSVhsv(260, 77%, 61%)
CMYKcmyk(51.9%, 76.9%, 0%, 38.8%)
CIE-LABlab(27.18, 46.18, -58.44)
CIE-LCHlch(27.18, 74.49, 308.32°)
OKLaboklab(39.3% 0.0627 -0.1679)
OKLCHoklch(39.3% 0.179 290.5)
XYZxyz(9.5316, 5.1575, 31.9393)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B249C #759C24
analogous
#24399C #4B249C #87249C
triadic
#4B249C #9C4B24 #249C4B
tetradic
#4B249C #9C2439 #759C24 #249C87
square
#4B249C #9C2439 #759C24 #249C87
split-complementary
#4B249C #9C8724 #399C24
monochromatic
#1B0D39 #33196A #4B249C #632FCE #8860DA

Accessibility & contrast

On white

10.34
#4B249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4B249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B249C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B249C#FFFFFF#000000##FFFFFF
##4B249C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#2E455F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b249c;
/* rgb */ color: rgb(75, 36, 156);
/* oklch */ color: oklch(39.3% 0.179 290.5);
Tailwind
colors: {
  custom: {
    50: '#8663ba',
    500: '#4b249c',
    950: '#000000',
  },
}
SCSS
$custom: #4b249c;
$custom-light: #8663ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b249c",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 259.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.393,
    "c": 0.17922,
    "h": 290.5
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#4B249C
secondary
#9FBF5C
accent
#E642B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4B249C

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

Preview Lab → · Contrast checker → · Palette generator →

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