#4E2175#4E2175

#4E2175 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.138 H 304.9°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#4E2175
RGBrgb(78, 33, 117)
HSLhsl(272, 56%, 29%)
HSVhsv(272, 72%, 46%)
CMYKcmyk(33.3%, 71.8%, 0%, 54.1%)
CIE-LABlab(23.64, 37.66, -39.83)
CIE-LCHlch(23.64, 54.82, 313.39°)
OKLaboklab(35.84% 0.0789 -0.1131)
OKLCHoklch(35.84% 0.138 304.9)
XYZxyz(6.8959, 3.9918, 17.2334)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2175 #487521
analogous
#242175 #4E2175 #752172
triadic
#4E2175 #754E21 #21754E
tetradic
#4E2175 #752421 #487521 #217275
square
#4E2175 #752421 #487521 #217275
split-complementary
#4E2175 #727521 #217524
monochromatic
#100718 #2E1445 #4E2175 #6E2EA5 #8D46CB

Accessibility & contrast

On white

11.68
#4E2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2175
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2175#FFFFFF#000000##FFFFFF
##4E21751.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#023873
Tritanopia (blue-blind)
#473448
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2175;
/* rgb */ color: rgb(78, 33, 117);
/* oklch */ color: oklch(35.8% 0.138 304.9);
Tailwind
colors: {
  custom: {
    50: '#83609d',
    500: '#4e2175',
    950: '#000000',
  },
}
SCSS
$custom: #4e2175;
$custom-light: #83609d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2175",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 272.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.13792,
    "h": 304.9
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#4E2175
secondary
#76A84A
accent
#DF498F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2175

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

Preview Lab → · Contrast checker → · Palette generator →

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