#4E2375#4E2375

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

Color values

HEX#4E2375
RGBrgb(78, 35, 117)
HSLhsl(271, 54%, 30%)
HSVhsv(271, 70%, 46%)
CMYKcmyk(33.3%, 70.1%, 0%, 54.1%)
CIE-LABlab(24.02, 36.62, -39.23)
CIE-LCHlch(24.02, 53.66, 313.03°)
OKLaboklab(36.1% 0.0765 -0.1114)
OKLCHoklch(36.1% 0.135 304.5)
XYZxyz(6.9531, 4.1061, 17.2524)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2375 #4A7523
analogous
#252375 #4E2375 #752373
triadic
#4E2375 #754E23 #23754E
tetradic
#4E2375 #752523 #4A7523 #237375
square
#4E2375 #752523 #4A7523 #237375
split-complementary
#4E2375 #737523 #237525
monochromatic
#100718 #2F1546 #4E2375 #6D31A4 #8C4AC9

Accessibility & contrast

On white

11.53
#4E2375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2375
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2375#FFFFFF#000000##FFFFFF
##4E23751.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2375;
/* rgb */ color: rgb(78, 35, 117);
/* oklch */ color: oklch(36.1% 0.135 304.5);
Tailwind
colors: {
  custom: {
    50: '#83619d',
    500: '#4e2375',
    950: '#000000',
  },
}
SCSS
$custom: #4e2375;
$custom-light: #83619d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2375",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 117
  },
  "hsl": {
    "h": 271.463,
    "s": 53.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36105,
    "c": 0.13512,
    "h": 304.5
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#4E2375
secondary
#78A84C
accent
#DD4A90
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2375

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

Preview Lab → · Contrast checker → · Palette generator →

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