#4B136B#4B136B

#4B136B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.144 H 309.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#4B136B
RGBrgb(75, 19, 107)
HSLhsl(278, 70%, 25%)
HSVhsv(278, 82%, 42%)
CMYKcmyk(29.9%, 82.2%, 0%, 58%)
CIE-LABlab(20.14, 40.95, -39.08)
CIE-LCHlch(20.14, 56.61, 316.33°)
OKLaboklab(33% 0.091 -0.111)
OKLCHoklch(33% 0.144 309.4)
XYZxyz(5.7878, 3.0233, 14.1857)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B136B #336B13
analogous
#1F136B #4B136B #6B135F
triadic
#4B136B #6B4B13 #136B4B
tetradic
#4B136B #6B1F13 #336B13 #135F6B
square
#4B136B #6B1F13 #336B13 #135F6B
split-complementary
#4B136B #5F6B13 #136B1F
monochromatic
#12051A #270A37 #4B136B #6F1C9F #9425D3

Accessibility & contrast

On white

13.09
#4B136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4B136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B136B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B136B#FFFFFF#000000##FFFFFF
##4B136B1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#46293F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b136b;
/* rgb */ color: rgb(75, 19, 107);
/* oklch */ color: oklch(33.0% 0.144 309.4);
Tailwind
colors: {
  custom: {
    50: '#815896',
    500: '#4b136b',
    950: '#000000',
  },
}
SCSS
$custom: #4b136b;
$custom-light: #815896;
$custom-dark: #000000;
JSON
{
  "hex": "#4b136b",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 278.182,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33004,
    "c": 0.14351,
    "h": 309.4
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#4B136B
secondary
#5EA238
accent
#ED3B7C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B136B

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

Preview Lab → · Contrast checker → · Palette generator →

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