#4B125D#4B125D

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

Color values

HEX#4B125D
RGBrgb(75, 18, 93)
HSLhsl(286, 68%, 22%)
HSVhsv(286, 81%, 36%)
CMYKcmyk(19.4%, 80.6%, 0%, 63.5%)
CIE-LABlab(18.88, 38.16, -31.89)
CIE-LCHlch(18.88, 49.73, 320.11°)
OKLaboklab(31.77% 0.0948 -0.0898)
OKLCHoklch(31.77% 0.131 316.5)
XYZxyz(5.0934, 2.7190, 10.6103)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B125D #245D12
analogous
#26125D #4B125D #5D124A
triadic
#4B125D #5D4B12 #125D4B
tetradic
#4B125D #5D2612 #245D12 #124A5D
square
#4B125D #5D2612 #245D12 #124A5D
split-complementary
#4B125D #4A5D12 #125D26
monochromatic
#15051A #22082A #4B125D #741C90 #9E26C4

Accessibility & contrast

On white

13.60
#4B125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B125D
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B125D#FFFFFF#000000##FFFFFF
##4B125D1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#122F5B
Tritanopia (blue-blind)
#4A2237
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b125d;
/* rgb */ color: rgb(75, 18, 93);
/* oklch */ color: oklch(31.8% 0.131 316.5);
Tailwind
colors: {
  custom: {
    50: '#80578b',
    500: '#4b125d',
    950: '#000000',
  },
}
SCSS
$custom: #4b125d;
$custom-light: #80578b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b125d",
  "rgb": {
    "r": 75,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 285.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31767,
    "c": 0.13057,
    "h": 316.5
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#4B125D
secondary
#4C9535
accent
#EA3D67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B125D

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

Preview Lab → · Contrast checker → · Palette generator →

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