#4B137F#4B137F

#4B137F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.164 H 301.2°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#4B137F
RGBrgb(75, 19, 127)
HSLhsl(271, 74%, 29%)
HSVhsv(271, 85%, 50%)
CMYKcmyk(40.9%, 85%, 0%, 50.2%)
CIE-LABlab(21.92, 45.77, -49.03)
CIE-LCHlch(21.92, 67.07, 313.03°)
OKLaboklab(34.8% 0.085 -0.1402)
OKLCHoklch(34.8% 0.164 301.2)
XYZxyz(6.9643, 3.4939, 20.3820)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B137F #477F13
analogous
#15137F #4B137F #7F137D
triadic
#4B137F #7F4B13 #137F4B
tetradic
#4B137F #7F1513 #477F13 #137D7F
square
#4B137F #7F1513 #477F13 #137D7F
split-complementary
#4B137F #7D7F13 #137F15
monochromatic
#10041B #2C0B4A #4B137F #6A1BB4 #8A2DE0

Accessibility & contrast

On white

12.36
#4B137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4B137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B137F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B137F#FFFFFF#000000##FFFFFF
##4B137F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#3F324A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b137f;
/* rgb */ color: rgb(75, 19, 127);
/* oklch */ color: oklch(34.8% 0.164 301.2);
Tailwind
colors: {
  custom: {
    50: '#8359a5',
    500: '#4b137f',
    950: '#000000',
  },
}
SCSS
$custom: #4b137f;
$custom-light: #8359a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b137f",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 271.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.348,
    "c": 0.16394,
    "h": 301.2
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#4B137F
secondary
#75B439
accent
#F13790
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B137F

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

Preview Lab → · Contrast checker → · Palette generator →

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