#4B249F#4B249F

#4B249F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.183 H 289.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4B249F
RGBrgb(75, 36, 159)
HSLhsl(259, 63%, 38%)
HSVhsv(259, 77%, 62%)
CMYKcmyk(52.8%, 77.4%, 0%, 37.6%)
CIE-LABlab(27.46, 47.02, -59.80)
CIE-LCHlch(27.46, 76.08, 308.18°)
OKLaboklab(39.59% 0.0618 -0.1719)
OKLCHoklch(39.59% 0.183 289.8)
XYZxyz(9.7887, 5.2604, 33.2937)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B249F #789F24
analogous
#243B9F #4B249F #88249F
triadic
#4B249F #9F4B24 #249F4B
tetradic
#4B249F #9F243B #789F24 #249F88
square
#4B249F #9F243B #789F24 #249F88
split-complementary
#4B249F #9F8824 #3B9F24
monochromatic
#1C0D3B #33196D #4B249F #6330D0 #8862DB

Accessibility & contrast

On white

10.23
#4B249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4B249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B249F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B249F#FFFFFF#000000##FFFFFF
##4B249F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#2C4660
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b249f;
/* rgb */ color: rgb(75, 36, 159);
/* oklch */ color: oklch(39.6% 0.183 289.8);
Tailwind
colors: {
  custom: {
    50: '#8763bc',
    500: '#4b249f',
    950: '#000000',
  },
}
SCSS
$custom: #4b249f;
$custom-light: #8763bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b249f",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 259.024,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.18267,
    "h": 289.8
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#4B249F
secondary
#A1C15E
accent
#E642B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B249F

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

Preview Lab → · Contrast checker → · Palette generator →

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