#4B125B#4B125B

#4B125B is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.129 H 317.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#4B125B
RGBrgb(75, 18, 91)
HSLhsl(287, 67%, 21%)
HSVhsv(287, 80%, 36%)
CMYKcmyk(17.6%, 80.2%, 0%, 64.3%)
CIE-LABlab(18.73, 37.72, -30.80)
CIE-LCHlch(18.73, 48.70, 320.76°)
OKLaboklab(31.61% 0.095 -0.0866)
OKLCHoklch(31.61% 0.129 317.7)
XYZxyz(5.0060, 2.6840, 10.1499)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B125B #225B12
analogous
#27125B #4B125B #5B1247
triadic
#4B125B #5B4B12 #125B4B
tetradic
#4B125B #5B2712 #225B12 #12475B
square
#4B125B #5B2712 #225B12 #12475B
split-complementary
#4B125B #475B12 #125B27
monochromatic
#15051A #210828 #4B125B #751C8E #9F26C1

Accessibility & contrast

On white

13.66
#4B125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4B125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B125B
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B125B#FFFFFF#000000##FFFFFF
##4B125B1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#142F59
Tritanopia (blue-blind)
#4A2136
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b125b;
/* rgb */ color: rgb(75, 18, 91);
/* oklch */ color: oklch(31.6% 0.129 317.7);
Tailwind
colors: {
  custom: {
    50: '#80578a',
    500: '#4b125b',
    950: '#000000',
  },
}
SCSS
$custom: #4b125b;
$custom-light: #80578a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b125b",
  "rgb": {
    "r": 75,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 286.849,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31613,
    "c": 0.1286,
    "h": 317.7
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#4B125B
secondary
#4A9335
accent
#EA3E64
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4B125B

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

Preview Lab → · Contrast checker → · Palette generator →

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