#4B249E#4B249E

#4B249E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.182 H 290.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4B249E
RGBrgb(75, 36, 158)
HSLhsl(259, 63%, 38%)
HSVhsv(259, 77%, 62%)
CMYKcmyk(52.5%, 77.2%, 0%, 38%)
CIE-LABlab(27.37, 46.74, -59.35)
CIE-LCHlch(27.37, 75.55, 308.22°)
OKLaboklab(39.49% 0.0621 -0.1706)
OKLCHoklch(39.49% 0.182 290)
XYZxyz(9.7023, 5.2258, 32.8386)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B249E #779E24
analogous
#243A9E #4B249E #88249E
triadic
#4B249E #9E4B24 #249E4B
tetradic
#4B249E #9E243A #779E24 #249E88
square
#4B249E #9E243A #779E24 #249E88
split-complementary
#4B249E #9E8824 #3A9E24
monochromatic
#1C0D3A #33196C #4B249E #632FD0 #8861DB

Accessibility & contrast

On white

10.27
#4B249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B249E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B249E#FFFFFF#000000##FFFFFF
##4B249E1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#2D4660
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b249e;
/* rgb */ color: rgb(75, 36, 158);
/* oklch */ color: oklch(39.5% 0.182 290.0);
Tailwind
colors: {
  custom: {
    50: '#8663bc',
    500: '#4b249e',
    950: '#000000',
  },
}
SCSS
$custom: #4b249e;
$custom-light: #8663bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b249e",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 259.18,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39491,
    "c": 0.18152,
    "h": 290
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B249E

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

Preview Lab → · Contrast checker → · Palette generator →

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