#4B3C81#4B3C81

#4B3C81 is a dark, moderate violet. Relative luminance 0.063; OKLCH L 40.8% C 0.112 H 290.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4B3C81
RGBrgb(75, 60, 129)
HSLhsl(253, 37%, 37%)
HSVhsv(253, 53%, 51%)
CMYKcmyk(41.9%, 53.5%, 0%, 49.4%)
CIE-LABlab(30.19, 24.33, -36.90)
CIE-LCHlch(30.19, 44.19, 303.40°)
OKLaboklab(40.81% 0.0393 -0.1046)
OKLCHoklch(40.81% 0.112 290.6)
XYZxyz(8.4789, 6.3123, 21.5363)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3C81 #72813C
analogous
#3C5081 #4B3C81 #6D3C81
triadic
#4B3C81 #814B3C #3C814B
tetradic
#4B3C81 #813C50 #72813C #3C816D
square
#4B3C81 #813C50 #72813C #3C816D
split-complementary
#4B3C81 #816D3C #50813C
monochromatic
#1A152D #332957 #4B3C81 #634FAB #8777C0

Accessibility & contrast

On white

9.28
#4B3C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4B3C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3C81
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3C81#FFFFFF#000000##FFFFFF
##4B3C811.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4883
Deuteranopia (green-blind)
#20467F
Tritanopia (blue-blind)
#3C4A58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b3c81;
/* rgb */ color: rgb(75, 60, 129);
/* oklch */ color: oklch(40.8% 0.112 290.6);
Tailwind
colors: {
  custom: {
    50: '#8172a6',
    500: '#4b3c81',
    950: '#000000',
  },
}
SCSS
$custom: #4b3c81;
$custom-light: #8172a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3c81",
  "rgb": {
    "r": 75,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 253.043,
    "s": 36.508,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40811,
    "c": 0.11179,
    "h": 290.6
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#4B3C81
secondary
#9DAA6F
accent
#CD5BB4
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #4B3C81

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

Preview Lab → · Contrast checker → · Palette generator →

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