#4B247C#4B247C

#4B247C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.141 H 299.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4B247C
RGBrgb(75, 36, 124)
HSLhsl(267, 55%, 31%)
HSVhsv(267, 71%, 49%)
CMYKcmyk(39.5%, 71%, 0%, 51.4%)
CIE-LABlab(24.36, 37.29, -43.14)
CIE-LCHlch(24.36, 57.02, 310.83°)
OKLaboklab(36.44% 0.0699 -0.123)
OKLCHoklch(36.44% 0.141 299.6)
XYZxyz(7.1697, 4.2128, 19.5003)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B247C #557C24
analogous
#24297C #4B247C #77247C
triadic
#4B247C #7C4B24 #247C4B
tetradic
#4B247C #7C2429 #557C24 #247C77
square
#4B247C #7C2429 #557C24 #247C77
split-complementary
#4B247C #7C7724 #297C24
monochromatic
#12081D #2E164D #4B247C #6832AB #864FCC

Accessibility & contrast

On white

11.40
#4B247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B247C
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B247C#FFFFFF#000000##FFFFFF
##4B247C1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#40394D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b247c;
/* rgb */ color: rgb(75, 36, 124);
/* oklch */ color: oklch(36.4% 0.141 299.6);
Tailwind
colors: {
  custom: {
    50: '#8262a3',
    500: '#4b247c',
    950: '#000000',
  },
}
SCSS
$custom: #4b247c;
$custom-light: #8262a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b247c",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 266.591,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36437,
    "c": 0.14146,
    "h": 299.6
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#4B247C
secondary
#83AE4D
accent
#DE499C
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B247C

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

Preview Lab → · Contrast checker → · Palette generator →

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