#4D248F#4D248F

#4D248F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.164 H 294.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4D248F
RGBrgb(77, 36, 143)
HSLhsl(263, 60%, 35%)
HSVhsv(263, 75%, 56%)
CMYKcmyk(46.2%, 74.8%, 0%, 43.9%)
CIE-LABlab(26.22, 42.89, -52.00)
CIE-LCHlch(26.22, 67.41, 309.51°)
OKLaboklab(38.32% 0.0691 -0.149)
OKLCHoklch(38.32% 0.164 294.9)
XYZxyz(8.6480, 4.8225, 26.4565)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D248F #668F24
analogous
#24308F #4D248F #83248F
triadic
#4D248F #8F4D24 #248F4D
tetradic
#4D248F #8F2430 #668F24 #248F83
square
#4D248F #8F2430 #668F24 #248F83
split-complementary
#4D248F #8F8324 #308F24
monochromatic
#180B2D #33185E #4D248F #6730C0 #8858D5

Accessibility & contrast

On white

10.69
#4D248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4D248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D248F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D248F#FFFFFF#000000##FFFFFF
##4D248F1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#3A4057
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d248f;
/* rgb */ color: rgb(77, 36, 143);
/* oklch */ color: oklch(38.3% 0.164 294.9);
Tailwind
colors: {
  custom: {
    50: '#8563b1',
    500: '#4d248f',
    950: '#000000',
  },
}
SCSS
$custom: #4d248f;
$custom-light: #8563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d248f",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 262.991,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.16421,
    "h": 294.9
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#4D248F
secondary
#93B955
accent
#E345A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D248F

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

Preview Lab → · Contrast checker → · Palette generator →

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