#4E1675#4E1675

#4E1675 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.151 H 306.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#4E1675
RGBrgb(78, 22, 117)
HSLhsl(275, 68%, 27%)
HSVhsv(275, 81%, 46%)
CMYKcmyk(33.3%, 81.2%, 0%, 54.1%)
CIE-LABlab(21.86, 42.71, -42.72)
CIE-LCHlch(21.86, 60.41, 314.99°)
OKLaboklab(34.58% 0.0903 -0.1215)
OKLCHoklch(34.58% 0.151 306.6)
XYZxyz(6.6390, 3.4779, 17.1477)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1675 #3D7516
analogous
#1E1675 #4E1675 #75166D
triadic
#4E1675 #754E16 #16754E
tetradic
#4E1675 #751E16 #3D7516 #166D75
square
#4E1675 #751E16 #3D7516 #166D75
split-complementary
#4E1675 #6D7516 #16751E
monochromatic
#11051A #2C0C41 #4E1675 #7020A9 #922ED8

Accessibility & contrast

On white

12.38
#4E1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1675
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1675#FFFFFF#000000##FFFFFF
##4E16751.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#472E45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1675;
/* rgb */ color: rgb(78, 22, 117);
/* oklch */ color: oklch(34.6% 0.151 306.6);
Tailwind
colors: {
  custom: {
    50: '#845b9d',
    500: '#4e1675',
    950: '#000000',
  },
}
SCSS
$custom: #4e1675;
$custom-light: #845b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1675",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 275.368,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34577,
    "c": 0.1514,
    "h": 306.6
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#4E1675
secondary
#6AAB3C
accent
#EB3D84
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1675

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

Preview Lab → · Contrast checker → · Palette generator →

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