#4B136C#4B136C

#4B136C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.145 H 308.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4B136C
RGBrgb(75, 19, 108)
HSLhsl(278, 70%, 25%)
HSVhsv(278, 82%, 42%)
CMYKcmyk(30.6%, 82.4%, 0%, 57.6%)
CIE-LABlab(20.22, 41.18, -39.60)
CIE-LCHlch(20.22, 57.13, 316.12°)
OKLaboklab(33.09% 0.0908 -0.1125)
OKLCHoklch(33.09% 0.145 308.9)
XYZxyz(5.8407, 3.0444, 14.4644)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B136C #346C13
analogous
#1F136C #4B136C #6C1360
triadic
#4B136C #6C4B13 #136C4B
tetradic
#4B136C #6C1F13 #346C13 #13606C
square
#4B136C #6C1F13 #346C13 #13606C
split-complementary
#4B136C #606C13 #136C1F
monochromatic
#12051A #270A38 #4B136C #6F1CA0 #9325D4

Accessibility & contrast

On white

13.05
#4B136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4B136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B136C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B136C#FFFFFF#000000##FFFFFF
##4B136C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#462A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b136c;
/* rgb */ color: rgb(75, 19, 108);
/* oklch */ color: oklch(33.1% 0.145 308.9);
Tailwind
colors: {
  custom: {
    50: '#815897',
    500: '#4b136c',
    950: '#000000',
  },
}
SCSS
$custom: #4b136c;
$custom-light: #815897;
$custom-dark: #000000;
JSON
{
  "hex": "#4b136c",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 277.753,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33089,
    "c": 0.14452,
    "h": 308.9
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#4B136C
secondary
#60A338
accent
#ED3B7D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B136C

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

Preview Lab → · Contrast checker → · Palette generator →

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