#4E248F#4E248F

#4E248F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.164 H 295.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#4E248F
RGBrgb(78, 36, 143)
HSLhsl(264, 60%, 35%)
HSVhsv(264, 75%, 56%)
CMYKcmyk(45.5%, 74.8%, 0%, 43.9%)
CIE-LABlab(26.34, 43.07, -51.80)
CIE-LCHlch(26.34, 67.36, 309.74°)
OKLaboklab(38.43% 0.0707 -0.1483)
OKLCHoklch(38.43% 0.164 295.5)
XYZxyz(8.7294, 4.8644, 26.4603)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E248F #658F24
analogous
#24308F #4E248F #83248F
triadic
#4E248F #8F4E24 #248F4E
tetradic
#4E248F #8F2430 #658F24 #248F83
square
#4E248F #8F2430 #658F24 #248F83
split-complementary
#4E248F #8F8324 #308F24
monochromatic
#190B2D #33185E #4E248F #6930C0 #8958D5

Accessibility & contrast

On white

10.64
#4E248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E248F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E248F#FFFFFF#000000##FFFFFF
##4E248F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e248f;
/* rgb */ color: rgb(78, 36, 143);
/* oklch */ color: oklch(38.4% 0.164 295.5);
Tailwind
colors: {
  custom: {
    50: '#8663b1',
    500: '#4e248f',
    950: '#000000',
  },
}
SCSS
$custom: #4e248f;
$custom-light: #8663b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e248f",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 263.551,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3843,
    "c": 0.16429,
    "h": 295.5
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#4E248F
secondary
#92B955
accent
#E345A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E248F

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

Preview Lab → · Contrast checker → · Palette generator →

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