#4B136F#4B136F

#4B136F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.148 H 307.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#4B136F
RGBrgb(75, 19, 111)
HSLhsl(277, 71%, 25%)
HSVhsv(277, 83%, 44%)
CMYKcmyk(32.4%, 82.9%, 0%, 56.5%)
CIE-LABlab(20.48, 41.89, -41.13)
CIE-LCHlch(20.48, 58.71, 315.53°)
OKLaboklab(33.35% 0.09 -0.117)
OKLCHoklch(33.35% 0.148 307.6)
XYZxyz(6.0032, 3.1094, 15.3198)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B136F #376F13
analogous
#1D136F #4B136F #6F1365
triadic
#4B136F #6F4B13 #136F4B
tetradic
#4B136F #6F1D13 #376F13 #13656F
square
#4B136F #6F1D13 #376F13 #13656F
split-complementary
#4B136F #656F13 #136F1D
monochromatic
#12041A #280A3B #4B136F #6E1CA3 #9225D8

Accessibility & contrast

On white

12.95
#4B136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4B136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B136F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B136F#FFFFFF#000000##FFFFFF
##4B136F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#452B41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b136f;
/* rgb */ color: rgb(75, 19, 111);
/* oklch */ color: oklch(33.3% 0.148 307.6);
Tailwind
colors: {
  custom: {
    50: '#825899',
    500: '#4b136f',
    950: '#000000',
  },
}
SCSS
$custom: #4b136f;
$custom-light: #825899;
$custom-dark: #000000;
JSON
{
  "hex": "#4b136f",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 276.522,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33348,
    "c": 0.14758,
    "h": 307.6
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#4B136F
secondary
#63A638
accent
#EE3A80
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B136F

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

Preview Lab → · Contrast checker → · Palette generator →

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