#4B337E#4B337E

#4B337E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.0% C 0.122 H 294.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4B337E
RGBrgb(75, 51, 126)
HSLhsl(259, 42%, 35%)
HSVhsv(259, 60%, 49%)
CMYKcmyk(40.5%, 59.5%, 0%, 50.6%)
CIE-LABlab(27.76, 29.11, -38.91)
CIE-LCHlch(27.76, 48.60, 306.81°)
OKLaboklab(38.95% 0.0512 -0.1106)
OKLCHoklch(38.95% 0.122 294.9)
XYZxyz(7.8504, 5.3697, 20.3575)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B337E #667E33
analogous
#33417E #4B337E #71337E
triadic
#4B337E #7E4B33 #337E4B
tetradic
#4B337E #7E3341 #667E33 #337E71
square
#4B337E #7E3341 #667E33 #337E71
split-complementary
#4B337E #7E7133 #417E33
monochromatic
#171027 #312152 #4B337E #6545AA #8669C2

Accessibility & contrast

On white

10.13
#4B337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4B337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B337E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B337E#FFFFFF#000000##FFFFFF
##4B337E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094280
Deuteranopia (green-blind)
#14407C
Tritanopia (blue-blind)
#3E4353
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b337e;
/* rgb */ color: rgb(75, 51, 126);
/* oklch */ color: oklch(39.0% 0.122 294.9);
Tailwind
colors: {
  custom: {
    50: '#816ba4',
    500: '#4b337e',
    950: '#000000',
  },
}
SCSS
$custom: #4b337e;
$custom-light: #816ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b337e",
  "rgb": {
    "r": 75,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 259.2,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38951,
    "c": 0.12187,
    "h": 294.9
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#4B337E
secondary
#93AA63
accent
#D256AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4B337E

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

Preview Lab → · Contrast checker → · Palette generator →

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