#4E2275#4E2275

#4E2275 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.137 H 304.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2275
RGBrgb(78, 34, 117)
HSLhsl(272, 55%, 30%)
HSVhsv(272, 71%, 46%)
CMYKcmyk(33.3%, 70.9%, 0%, 54.1%)
CIE-LABlab(23.83, 37.14, -39.53)
CIE-LCHlch(23.83, 54.24, 313.21°)
OKLaboklab(35.97% 0.0777 -0.1123)
OKLCHoklch(35.97% 0.137 304.7)
XYZxyz(6.9241, 4.0481, 17.2428)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2275 #497522
analogous
#242275 #4E2275 #752273
triadic
#4E2275 #754E22 #22754E
tetradic
#4E2275 #752422 #497522 #227375
square
#4E2275 #752422 #497522 #227375
split-complementary
#4E2275 #737522 #227524
monochromatic
#100718 #2E1446 #4E2275 #6E30A4 #8D48CA

Accessibility & contrast

On white

11.60
#4E2275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E2275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2275
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2275#FFFFFF#000000##FFFFFF
##4E22751.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#043973
Tritanopia (blue-blind)
#473548
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2275;
/* rgb */ color: rgb(78, 34, 117);
/* oklch */ color: oklch(36.0% 0.137 304.7);
Tailwind
colors: {
  custom: {
    50: '#83619d',
    500: '#4e2275',
    950: '#000000',
  },
}
SCSS
$custom: #4e2275;
$custom-light: #83619d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2275",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 271.807,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3597,
    "c": 0.13653,
    "h": 304.7
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#4E2275
secondary
#77A84B
accent
#DE498F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2275

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

Preview Lab → · Contrast checker → · Palette generator →

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