#4B225E#4B225E

#4B225E is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.9% C 0.108 H 313.6°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#4B225E
RGBrgb(75, 34, 94)
HSLhsl(281, 47%, 25%)
HSVhsv(281, 64%, 37%)
CMYKcmyk(20.2%, 63.8%, 0%, 63.1%)
CIE-LABlab(21.76, 30.58, -27.95)
CIE-LCHlch(21.76, 41.43, 317.57°)
OKLaboklab(33.86% 0.0748 -0.0784)
OKLCHoklch(33.86% 0.108 313.6)
XYZxyz(5.4937, 3.4482, 10.9637)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B225E #355E22
analogous
#2D225E #4B225E #5E2253
triadic
#4B225E #5E4B22 #225E4B
tetradic
#4B225E #5E2D22 #355E22 #22535E
square
#4B225E #5E2D22 #355E22 #22535E
split-complementary
#4B225E #535E22 #225E2D
monochromatic
#120816 #271231 #4B225E #6F328B #9343B8

Accessibility & contrast

On white

12.43
#4B225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4B225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B225E
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B225E#FFFFFF#000000##FFFFFF
##4B225E1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3260
Deuteranopia (green-blind)
#20355D
Tritanopia (blue-blind)
#492D3C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b225e;
/* rgb */ color: rgb(75, 34, 94);
/* oklch */ color: oklch(33.9% 0.108 313.6);
Tailwind
colors: {
  custom: {
    50: '#7f608c',
    500: '#4b225e',
    950: '#000000',
  },
}
SCSS
$custom: #4b225e;
$custom-light: #7f608c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b225e",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 281,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33855,
    "c": 0.10832,
    "h": 313.6
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#4B225E
secondary
#61924A
accent
#D7517B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4B225E

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

Preview Lab → · Contrast checker → · Palette generator →

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