#4B137D#4B137D

#4B137D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.162 H 302.0°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#4B137D
RGBrgb(75, 19, 125)
HSLhsl(272, 74%, 28%)
HSVhsv(272, 85%, 49%)
CMYKcmyk(40%, 84.8%, 0%, 51%)
CIE-LABlab(21.73, 45.28, -48.06)
CIE-LCHlch(21.73, 66.03, 313.29°)
OKLaboklab(34.61% 0.0857 -0.1373)
OKLCHoklch(34.61% 0.162 302)
XYZxyz(6.8353, 3.4422, 19.7024)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B137D #457D13
analogous
#16137D #4B137D #7D137A
triadic
#4B137D #7D4B13 #137D4B
tetradic
#4B137D #7D1613 #457D13 #137A7D
square
#4B137D #7D1613 #457D13 #137A7D
split-complementary
#4B137D #7A7D13 #137D16
monochromatic
#10041B #2B0B48 #4B137D #6B1BB2 #8A2CDF

Accessibility & contrast

On white

12.44
#4B137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4B137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B137D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B137D#FFFFFF#000000##FFFFFF
##4B137D1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#403149
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b137d;
/* rgb */ color: rgb(75, 19, 125);
/* oklch */ color: oklch(34.6% 0.162 302.0);
Tailwind
colors: {
  custom: {
    50: '#8359a4',
    500: '#4b137d',
    950: '#000000',
  },
}
SCSS
$custom: #4b137d;
$custom-light: #8359a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b137d",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 271.698,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34613,
    "c": 0.16189,
    "h": 302
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#4B137D
secondary
#72B339
accent
#F0388F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B137D

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

Preview Lab → · Contrast checker → · Palette generator →

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