#4A175F#4A175F

#4A175F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.126 H 314.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4A175F
RGBrgb(74, 23, 95)
HSLhsl(283, 61%, 23%)
HSVhsv(283, 76%, 37%)
CMYKcmyk(22.1%, 75.8%, 0%, 62.7%)
CIE-LABlab(19.62, 36.23, -32.04)
CIE-LCHlch(19.62, 48.37, 318.51°)
OKLaboklab(32.3% 0.0876 -0.0903)
OKLCHoklch(32.3% 0.126 314.1)
XYZxyz(5.1956, 2.8950, 11.1094)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A175F #2C5F17
analogous
#26175F #4A175F #5F1750
triadic
#4A175F #5F4A17 #175F4A
tetradic
#4A175F #5F2617 #2C5F17 #17505F
square
#4A175F #5F2617 #2C5F17 #17505F
split-complementary
#4A175F #505F17 #175F26
monochromatic
#130619 #240B2E #4A175F #702390 #972FC2

Accessibility & contrast

On white

13.30
#4A175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4A175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A175F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A175F#FFFFFF#000000##FFFFFF
##4A175F1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#13315D
Tritanopia (blue-blind)
#482639
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a175f;
/* rgb */ color: rgb(74, 23, 95);
/* oklch */ color: oklch(32.3% 0.126 314.1);
Tailwind
colors: {
  custom: {
    50: '#7f598d',
    500: '#4a175f',
    950: '#000000',
  },
}
SCSS
$custom: #4a175f;
$custom-light: #7f598d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a175f",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 282.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32304,
    "c": 0.12587,
    "h": 314.1
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#4A175F
secondary
#56963C
accent
#E44472
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A175F

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

Preview Lab → · Contrast checker → · Palette generator →

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