#4E2473#4E2473

#4E2473 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.131 H 305.1°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#4E2473
RGBrgb(78, 36, 115)
HSLhsl(272, 52%, 30%)
HSVhsv(272, 69%, 45%)
CMYKcmyk(32.2%, 68.7%, 0%, 54.9%)
CIE-LABlab(24.06, 35.56, -37.88)
CIE-LCHlch(24.06, 51.96, 313.19°)
OKLaboklab(36.09% 0.0755 -0.1074)
OKLCHoklch(36.09% 0.131 305.1)
XYZxyz(6.8666, 4.1193, 16.6497)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2473 #497324
analogous
#272473 #4E2473 #732471
triadic
#4E2473 #734E24 #24734E
tetradic
#4E2473 #732724 #497324 #247173
square
#4E2473 #732724 #497324 #247173
split-complementary
#4E2473 #717324 #247327
monochromatic
#100717 #2E1544 #4E2473 #6E33A2 #8D4BC7

Accessibility & contrast

On white

11.51
#4E2473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E2473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2473
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2473#FFFFFF#000000##FFFFFF
##4E24731.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#0D3971
Tritanopia (blue-blind)
#473548
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2473;
/* rgb */ color: rgb(78, 36, 115);
/* oklch */ color: oklch(36.1% 0.131 305.1);
Tailwind
colors: {
  custom: {
    50: '#83629c',
    500: '#4e2473',
    950: '#000000',
  },
}
SCSS
$custom: #4e2473;
$custom-light: #83629c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2473",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 271.899,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.13129,
    "h": 305.1
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#4E2473
secondary
#77A64D
accent
#DC4C8F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2473

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

Preview Lab → · Contrast checker → · Palette generator →

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