#4B124E#4B124E

#4B124E is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.116 H 325.8°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#4B124E
RGBrgb(75, 18, 78)
HSLhsl(297, 63%, 19%)
HSVhsv(297, 77%, 31%)
CMYKcmyk(3.8%, 76.9%, 0%, 69.4%)
CIE-LABlab(17.82, 35.00, -23.48)
CIE-LCHlch(17.82, 42.15, 326.14°)
OKLaboklab(30.67% 0.096 -0.0652)
OKLCHoklch(30.67% 0.116 325.8)
XYZxyz(4.4930, 2.4788, 7.4481)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B124E #154E12
analogous
#2D124E #4B124E #4E1233
triadic
#4B124E #4E4B12 #124E4B
tetradic
#4B124E #4E2D12 #154E12 #12334E
square
#4B124E #4E2D12 #154E12 #12334E
split-complementary
#4B124E #334E12 #124E2D
monochromatic
#180619 #1B071C #4B124E #7B1D80 #AB29B1

Accessibility & contrast

On white

14.04
#4B124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4B124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B124E
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B124E#FFFFFF#000000##FFFFFF
##4B124E1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052750
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#4D1C2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b124e;
/* rgb */ color: rgb(75, 18, 78);
/* oklch */ color: oklch(30.7% 0.116 325.8);
Tailwind
colors: {
  custom: {
    50: '#805680',
    500: '#4b124e',
    950: '#000000',
  },
}
SCSS
$custom: #4b124e;
$custom-light: #805680;
$custom-dark: #000000;
JSON
{
  "hex": "#4b124e",
  "rgb": {
    "r": 75,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 297,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30674,
    "c": 0.11604,
    "h": 325.8
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#4B124E
secondary
#398735
accent
#E6424A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B124E

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

Preview Lab → · Contrast checker → · Palette generator →

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