#4B247A#4B247A

#4B247A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.139 H 300.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#4B247A
RGBrgb(75, 36, 122)
HSLhsl(267, 54%, 31%)
HSVhsv(267, 70%, 48%)
CMYKcmyk(38.5%, 70.5%, 0%, 52.2%)
CIE-LABlab(24.20, 36.74, -42.14)
CIE-LCHlch(24.20, 55.90, 311.09°)
OKLaboklab(36.27% 0.0702 -0.12)
OKLCHoklch(36.27% 0.139 300.3)
XYZxyz(7.0445, 4.1627, 18.8409)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B247A #537A24
analogous
#24287A #4B247A #76247A
triadic
#4B247A #7A4B24 #247A4B
tetradic
#4B247A #7A2428 #537A24 #247A76
square
#4B247A #7A2428 #537A24 #247A76
split-complementary
#4B247A #7A7624 #287A24
monochromatic
#11081B #2E164B #4B247A #6832A9 #864ECB

Accessibility & contrast

On white

11.46
#4B247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4B247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B247A
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B247A#FFFFFF#000000##FFFFFF
##4B247A1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#41384C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b247a;
/* rgb */ color: rgb(75, 36, 122);
/* oklch */ color: oklch(36.3% 0.139 300.3);
Tailwind
colors: {
  custom: {
    50: '#8262a1',
    500: '#4b247a',
    950: '#000000',
  },
}
SCSS
$custom: #4b247a;
$custom-light: #8262a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b247a",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 267.209,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36271,
    "c": 0.13905,
    "h": 300.3
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#4B247A
secondary
#81AC4D
accent
#DE4A9B
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B247A

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

Preview Lab → · Contrast checker → · Palette generator →

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