#4B137C#4B137C

#4B137C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.161 H 302.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#4B137C
RGBrgb(75, 19, 124)
HSLhsl(272, 73%, 28%)
HSVhsv(272, 85%, 49%)
CMYKcmyk(39.5%, 84.7%, 0%, 51.4%)
CIE-LABlab(21.64, 45.03, -47.58)
CIE-LCHlch(21.64, 65.51, 313.42°)
OKLaboklab(34.52% 0.0861 -0.1359)
OKLCHoklch(34.52% 0.161 302.3)
XYZxyz(6.7717, 3.4168, 19.3676)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B137C #447C13
analogous
#16137C #4B137C #7C1378
triadic
#4B137C #7C4B13 #137C4B
tetradic
#4B137C #7C1613 #447C13 #13787C
square
#4B137C #7C1613 #447C13 #13787C
split-complementary
#4B137C #787C13 #137C16
monochromatic
#10041B #2B0B47 #4B137C #6B1BB1 #8B2BDF

Accessibility & contrast

On white

12.47
#4B137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4B137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B137C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B137C#FFFFFF#000000##FFFFFF
##4B137C1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#403149
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b137c;
/* rgb */ color: rgb(75, 19, 124);
/* oklch */ color: oklch(34.5% 0.161 302.3);
Tailwind
colors: {
  custom: {
    50: '#8359a3',
    500: '#4b137c',
    950: '#000000',
  },
}
SCSS
$custom: #4b137c;
$custom-light: #8359a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b137c",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 272,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3452,
    "c": 0.16087,
    "h": 302.3
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#4B137C
secondary
#71B239
accent
#F0388E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B137C

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

Preview Lab → · Contrast checker → · Palette generator →

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