#4A1475#4A1475

#4A1475 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.152 H 304.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#4A1475
RGBrgb(74, 20, 117)
HSLhsl(273, 71%, 27%)
HSVhsv(273, 83%, 46%)
CMYKcmyk(36.8%, 82.9%, 0%, 54.1%)
CIE-LABlab(20.98, 42.78, -44.19)
CIE-LCHlch(20.98, 61.50, 314.07°)
OKLaboklab(33.83% 0.0859 -0.126)
OKLCHoklch(33.83% 0.152 304.3)
XYZxyz(6.2843, 3.2405, 17.1206)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1475 #3F7514
analogous
#1A1475 #4A1475 #751470
triadic
#4A1475 #754A14 #14754A
tetradic
#4A1475 #751A14 #3F7514 #147075
square
#4A1475 #751A14 #3F7514 #147075
split-complementary
#4A1475 #707514 #14751A
monochromatic
#11041A #290B41 #4A1475 #6B1DA9 #8C29DA

Accessibility & contrast

On white

12.74
#4A1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4A1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1475
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1475#FFFFFF#000000##FFFFFF
##4A14751.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#412E45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a1475;
/* rgb */ color: rgb(74, 20, 117);
/* oklch */ color: oklch(33.8% 0.152 304.3);
Tailwind
colors: {
  custom: {
    50: '#81599e',
    500: '#4a1475',
    950: '#000000',
  },
}
SCSS
$custom: #4a1475;
$custom-light: #81599e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1475",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 273.402,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33833,
    "c": 0.15249,
    "h": 304.3
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#4A1475
secondary
#6CAB3A
accent
#EE3A8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1475

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

Preview Lab → · Contrast checker → · Palette generator →

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