#4A1575#4A1575

#4A1575 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.151 H 304.2°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#4A1575
RGBrgb(74, 21, 117)
HSLhsl(273, 70%, 27%)
HSVhsv(273, 82%, 46%)
CMYKcmyk(36.8%, 82.1%, 0%, 54.1%)
CIE-LABlab(21.12, 42.38, -43.96)
CIE-LCHlch(21.12, 61.06, 313.95°)
OKLaboklab(33.93% 0.0851 -0.1253)
OKLCHoklch(33.93% 0.151 304.2)
XYZxyz(6.3023, 3.2765, 17.1266)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1575 #407515
analogous
#1A1575 #4A1575 #751570
triadic
#4A1575 #754A15 #15754A
tetradic
#4A1575 #751A15 #407515 #157075
square
#4A1575 #751A15 #407515 #157075
split-complementary
#4A1575 #707515 #15751A
monochromatic
#10051A #290C41 #4A1575 #6B1EA9 #8B2BD9

Accessibility & contrast

On white

12.69
#4A1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4A1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1575
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1575#FFFFFF#000000##FFFFFF
##4A15751.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#412E45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4a1575;
/* rgb */ color: rgb(74, 21, 117);
/* oklch */ color: oklch(33.9% 0.151 304.2);
Tailwind
colors: {
  custom: {
    50: '#815a9e',
    500: '#4a1575',
    950: '#000000',
  },
}
SCSS
$custom: #4a1575;
$custom-light: #815a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1575",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 273.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33928,
    "c": 0.15148,
    "h": 304.2
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#4A1575
secondary
#6DAB3B
accent
#EC3B8B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1575

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

Preview Lab → · Contrast checker → · Palette generator →

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