#4E2F73#4E2F73

#4E2F73 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.8% C 0.114 H 302.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#4E2F73
RGBrgb(78, 47, 115)
HSLhsl(267, 42%, 32%)
HSVhsv(267, 59%, 45%)
CMYKcmyk(32.2%, 59.1%, 0%, 54.9%)
CIE-LABlab(26.42, 29.22, -34.09)
CIE-LCHlch(26.42, 44.90, 310.61°)
OKLaboklab(37.8% 0.0609 -0.0963)
OKLCHoklch(37.8% 0.114 302.3)
XYZxyz(7.2522, 4.8905, 16.7782)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F73 #54732F
analogous
#2F3273 #4E2F73 #702F73
triadic
#4E2F73 #734E2F #2F734E
tetradic
#4E2F73 #732F32 #54732F #2F7370
square
#4E2F73 #732F32 #54732F #2F7370
split-complementary
#4E2F73 #73702F #32732F
monochromatic
#130B1C #311D48 #4E2F73 #6B419E #8A5FBE

Accessibility & contrast

On white

10.62
#4E2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F73
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F73#FFFFFF#000000##FFFFFF
##4E2F731.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E75
Deuteranopia (green-blind)
#1F3E71
Tritanopia (blue-blind)
#473C4C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2f73;
/* rgb */ color: rgb(78, 47, 115);
/* oklch */ color: oklch(37.8% 0.114 302.3);
Tailwind
colors: {
  custom: {
    50: '#82699c',
    500: '#4e2f73',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f73;
$custom-light: #82699c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f73",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 267.353,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37803,
    "c": 0.11394,
    "h": 302.3
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#4E2F73
secondary
#82A45A
accent
#D25699
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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