#4B125A#4B125A

#4B125A is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.128 H 318.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#4B125A
RGBrgb(75, 18, 90)
HSLhsl(288, 67%, 21%)
HSVhsv(288, 80%, 35%)
CMYKcmyk(16.7%, 80%, 0%, 64.7%)
CIE-LABlab(18.66, 37.50, -30.25)
CIE-LCHlch(18.66, 48.18, 321.11°)
OKLaboklab(31.54% 0.0952 -0.085)
OKLCHoklch(31.54% 0.128 318.2)
XYZxyz(4.9632, 2.6669, 9.9242)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B125A #215A12
analogous
#27125A #4B125A #5A1245
triadic
#4B125A #5A4B12 #125A4B
tetradic
#4B125A #5A2712 #215A12 #12455A
square
#4B125A #5A2712 #215A12 #12455A
split-complementary
#4B125A #455A12 #125A27
monochromatic
#15051A #200827 #4B125A #751C8D #A026C0

Accessibility & contrast

On white

13.70
#4B125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4B125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B125A
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B125A#FFFFFF#000000##FFFFFF
##4B125A1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#152F58
Tritanopia (blue-blind)
#4B2135
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b125a;
/* rgb */ color: rgb(75, 18, 90);
/* oklch */ color: oklch(31.5% 0.128 318.2);
Tailwind
colors: {
  custom: {
    50: '#805789',
    500: '#4b125a',
    950: '#000000',
  },
}
SCSS
$custom: #4b125a;
$custom-light: #805789;
$custom-dark: #000000;
JSON
{
  "hex": "#4b125a",
  "rgb": {
    "r": 75,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 287.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31537,
    "c": 0.12761,
    "h": 318.2
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#4B125A
secondary
#499335
accent
#EA3E62
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B125A

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

Preview Lab → · Contrast checker → · Palette generator →

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