#4B136A#4B136A

#4B136A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.142 H 309.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#4B136A
RGBrgb(75, 19, 106)
HSLhsl(279, 70%, 25%)
HSVhsv(279, 82%, 42%)
CMYKcmyk(29.2%, 82.1%, 0%, 58.4%)
CIE-LABlab(20.05, 40.72, -38.57)
CIE-LCHlch(20.05, 56.08, 316.55°)
OKLaboklab(32.92% 0.0913 -0.1094)
OKLCHoklch(32.92% 0.142 309.8)
XYZxyz(5.7355, 3.0023, 13.9102)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B136A #326A13
analogous
#20136A #4B136A #6A135E
triadic
#4B136A #6A4B13 #136A4B
tetradic
#4B136A #6A2013 #326A13 #135E6A
square
#4B136A #6A2013 #326A13 #135E6A
split-complementary
#4B136A #5E6A13 #136A20
monochromatic
#12051A #260A36 #4B136A #701C9E #9426D2

Accessibility & contrast

On white

13.12
#4B136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B136A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B136A#FFFFFF#000000##FFFFFF
##4B136A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#46293E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b136a;
/* rgb */ color: rgb(75, 19, 106);
/* oklch */ color: oklch(32.9% 0.142 309.8);
Tailwind
colors: {
  custom: {
    50: '#815895',
    500: '#4b136a',
    950: '#000000',
  },
}
SCSS
$custom: #4b136a;
$custom-light: #815895;
$custom-dark: #000000;
JSON
{
  "hex": "#4b136a",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 278.621,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32919,
    "c": 0.14249,
    "h": 309.8
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#4B136A
secondary
#5DA138
accent
#EC3B7A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B136A

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

Preview Lab → · Contrast checker → · Palette generator →

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