#4B247D#4B247D

#4B247D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.143 H 299.3°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#4B247D
RGBrgb(75, 36, 125)
HSLhsl(266, 55%, 32%)
HSVhsv(266, 71%, 49%)
CMYKcmyk(40%, 71.2%, 0%, 51%)
CIE-LABlab(24.44, 37.56, -43.65)
CIE-LCHlch(24.44, 57.58, 310.71°)
OKLaboklab(36.52% 0.0697 -0.1245)
OKLCHoklch(36.52% 0.143 299.3)
XYZxyz(7.2333, 4.2382, 19.8350)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B247D #567D24
analogous
#242A7D #4B247D #78247D
triadic
#4B247D #7D4B24 #247D4B
tetradic
#4B247D #7D242A #567D24 #247D78
square
#4B247D #7D242A #567D24 #247D78
split-complementary
#4B247D #7D7824 #2A7D24
monochromatic
#12091E #2E164D #4B247D #6832AD #864FCC

Accessibility & contrast

On white

11.37
#4B247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4B247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B247D
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B247D#FFFFFF#000000##FFFFFF
##4B247D1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#3F394D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b247d;
/* rgb */ color: rgb(75, 36, 125);
/* oklch */ color: oklch(36.5% 0.143 299.3);
Tailwind
colors: {
  custom: {
    50: '#8262a3',
    500: '#4b247d',
    950: '#000000',
  },
}
SCSS
$custom: #4b247d;
$custom-light: #8262a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b247d",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 266.292,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3652,
    "c": 0.14267,
    "h": 299.3
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#4B247D
secondary
#84AF4D
accent
#DF499D
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B247D

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

Preview Lab → · Contrast checker → · Palette generator →

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