#4A135F#4A135F

#4A135F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.9% C 0.131 H 314.6°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#4A135F
RGBrgb(74, 19, 95)
HSLhsl(283, 67%, 22%)
HSVhsv(283, 80%, 37%)
CMYKcmyk(22.1%, 80%, 0%, 62.7%)
CIE-LABlab(19.00, 37.98, -33.03)
CIE-LCHlch(19.00, 50.33, 318.98°)
OKLaboklab(31.87% 0.092 -0.0932)
OKLCHoklch(31.87% 0.131 314.6)
XYZxyz(5.1221, 2.7480, 11.0849)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A135F #285F13
analogous
#24135F #4A135F #5F134E
triadic
#4A135F #5F4A13 #135F4A
tetradic
#4A135F #5F2413 #285F13 #134E5F
square
#4A135F #5F2413 #285F13 #134E5F
split-complementary
#4A135F #4E5F13 #135F24
monochromatic
#14051A #22092C #4A135F #721D92 #9927C5

Accessibility & contrast

On white

13.55
#4A135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4A135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A135F
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A135F#FFFFFF#000000##FFFFFF
##4A135F1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#0F2F5D
Tritanopia (blue-blind)
#482438
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a135f;
/* rgb */ color: rgb(74, 19, 95);
/* oklch */ color: oklch(31.9% 0.131 314.6);
Tailwind
colors: {
  custom: {
    50: '#80578d',
    500: '#4a135f',
    950: '#000000',
  },
}
SCSS
$custom: #4a135f;
$custom-light: #80578d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a135f",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 283.421,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31869,
    "c": 0.13098,
    "h": 314.6
  },
  "luminance": 0.02748
}

Semantic roles & 50–950 ramp

primary
#4A135F
secondary
#519737
accent
#EA3E6E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A135F

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

Preview Lab → · Contrast checker → · Palette generator →

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