#4B124F#4B124F

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

Color values

HEX#4B124F
RGBrgb(75, 18, 79)
HSLhsl(296, 63%, 19%)
HSVhsv(296, 77%, 31%)
CMYKcmyk(5.1%, 77.2%, 0%, 69%)
CIE-LABlab(17.89, 35.20, -24.06)
CIE-LCHlch(17.89, 42.64, 325.65°)
OKLaboklab(30.74% 0.096 -0.0669)
OKLCHoklch(30.74% 0.117 325.1)
XYZxyz(4.5291, 2.4933, 7.6383)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B124F #164F12
analogous
#2D124F #4B124F #4F1235
triadic
#4B124F #4F4B12 #124F4B
tetradic
#4B124F #4F2D12 #164F12 #12354F
square
#4B124F #4F2D12 #164F12 #12354F
split-complementary
#4B124F #354F12 #124F2D
monochromatic
#180619 #1C071D #4B124F #7A1D81 #AA29B3

Accessibility & contrast

On white

14.01
#4B124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B124F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B124F#FFFFFF#000000##FFFFFF
##4B124F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042751
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#4D1C2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b124f;
/* rgb */ color: rgb(75, 18, 79);
/* oklch */ color: oklch(30.7% 0.117 325.1);
Tailwind
colors: {
  custom: {
    50: '#805680',
    500: '#4b124f',
    950: '#000000',
  },
}
SCSS
$custom: #4b124f;
$custom-light: #805680;
$custom-dark: #000000;
JSON
{
  "hex": "#4b124f",
  "rgb": {
    "r": 75,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 296.066,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30742,
    "c": 0.11699,
    "h": 325.1
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#4B124F
secondary
#3A8835
accent
#E6424D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B124F

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

Preview Lab → · Contrast checker → · Palette generator →

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