#4B249D#4B249D

#4B249D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.180 H 290.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4B249D
RGBrgb(75, 36, 157)
HSLhsl(259, 63%, 38%)
HSVhsv(259, 77%, 62%)
CMYKcmyk(52.2%, 77.1%, 0%, 38.4%)
CIE-LABlab(27.27, 46.46, -58.90)
CIE-LCHlch(27.27, 75.02, 308.27°)
OKLaboklab(39.4% 0.0624 -0.1692)
OKLCHoklch(39.4% 0.18 290.2)
XYZxyz(9.6166, 5.1915, 32.3871)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B249D #769D24
analogous
#24399D #4B249D #87249D
triadic
#4B249D #9D4B24 #249D4B
tetradic
#4B249D #9D2439 #769D24 #249D87
square
#4B249D #9D2439 #769D24 #249D87
split-complementary
#4B249D #9D8724 #399D24
monochromatic
#1B0D39 #33196B #4B249D #632FCF #8861DB

Accessibility & contrast

On white

10.30
#4B249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4B249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B249D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B249D#FFFFFF#000000##FFFFFF
##4B249D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#2D465F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b249d;
/* rgb */ color: rgb(75, 36, 157);
/* oklch */ color: oklch(39.4% 0.180 290.2);
Tailwind
colors: {
  custom: {
    50: '#8663bb',
    500: '#4b249d',
    950: '#000000',
  },
}
SCSS
$custom: #4b249d;
$custom-light: #8663bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b249d",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 259.339,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39396,
    "c": 0.18037,
    "h": 290.2
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#4B249D
secondary
#A0C05D
accent
#E642B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B249D

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

Preview Lab → · Contrast checker → · Palette generator →

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