#4B247E#4B247E

#4B247E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.144 H 298.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4B247E
RGBrgb(75, 36, 126)
HSLhsl(266, 56%, 32%)
HSVhsv(266, 71%, 49%)
CMYKcmyk(40.5%, 71.4%, 0%, 50.6%)
CIE-LABlab(24.53, 37.83, -44.15)
CIE-LCHlch(24.53, 58.14, 310.60°)
OKLaboklab(36.6% 0.0696 -0.1259)
OKLCHoklch(36.6% 0.144 298.9)
XYZxyz(7.2975, 4.2639, 20.1732)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B247E #577E24
analogous
#242A7E #4B247E #78247E
triadic
#4B247E #7E4B24 #247E4B
tetradic
#4B247E #7E242A #577E24 #247E78
square
#4B247E #7E242A #577E24 #247E78
split-complementary
#4B247E #7E7824 #2A7E24
monochromatic
#12091F #2F164E #4B247E #6732AE #8650CD

Accessibility & contrast

On white

11.33
#4B247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B247E
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B247E#FFFFFF#000000##FFFFFF
##4B247E1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#3F3A4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b247e;
/* rgb */ color: rgb(75, 36, 126);
/* oklch */ color: oklch(36.6% 0.144 298.9);
Tailwind
colors: {
  custom: {
    50: '#8262a4',
    500: '#4b247e',
    950: '#000000',
  },
}
SCSS
$custom: #4b247e;
$custom-light: #8262a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b247e",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 266,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36604,
    "c": 0.14387,
    "h": 298.9
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#4B247E
secondary
#85B04E
accent
#DF499E
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B247E

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

Preview Lab → · Contrast checker → · Palette generator →

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