#4B185E#4B185E

#4B185E is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.5% C 0.124 H 315.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4B185E
RGBrgb(75, 24, 94)
HSLhsl(284, 59%, 23%)
HSVhsv(284, 74%, 37%)
CMYKcmyk(20.2%, 74.5%, 0%, 63.1%)
CIE-LABlab(19.87, 35.77, -30.96)
CIE-LCHlch(19.87, 47.31, 319.12°)
OKLaboklab(32.5% 0.088 -0.0871)
OKLCHoklch(32.5% 0.124 315.3)
XYZxyz(5.2483, 2.9575, 10.8819)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B185E #2B5E18
analogous
#28185E #4B185E #5E184E
triadic
#4B185E #5E4B18 #185E4B
tetradic
#4B185E #5E2818 #2B5E18 #184E5E
square
#4B185E #5E2818 #2B5E18 #184E5E
split-complementary
#4B185E #4E5E18 #185E28
monochromatic
#130618 #240C2D #4B185E #72248F #9931C0

Accessibility & contrast

On white

13.20
#4B185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4B185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B185E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B185E#FFFFFF#000000##FFFFFF
##4B185E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#16315C
Tritanopia (blue-blind)
#4A2639
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b185e;
/* rgb */ color: rgb(75, 24, 94);
/* oklch */ color: oklch(32.5% 0.124 315.3);
Tailwind
colors: {
  custom: {
    50: '#805a8c',
    500: '#4b185e',
    950: '#000000',
  },
}
SCSS
$custom: #4b185e;
$custom-light: #805a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b185e",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 283.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32496,
    "c": 0.12384,
    "h": 315.3
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#4B185E
secondary
#55943D
accent
#E34570
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B185E

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

Preview Lab → · Contrast checker → · Palette generator →

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