#4B3370#4B3370

#4B3370 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.0% C 0.102 H 299.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4B3370
RGBrgb(75, 51, 112)
HSLhsl(264, 37%, 32%)
HSVhsv(264, 54%, 44%)
CMYKcmyk(33%, 54.5%, 0%, 56.1%)
CIE-LABlab(26.83, 25.07, -31.54)
CIE-LCHlch(26.83, 40.29, 308.48°)
OKLaboklab(37.96% 0.0507 -0.0889)
OKLCHoklch(37.96% 0.102 299.7)
XYZxyz(7.0094, 5.0333, 15.9283)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3370 #587033
analogous
#333A70 #4B3370 #6A3370
triadic
#4B3370 #704B33 #33704B
tetradic
#4B3370 #70333A #587033 #33706A
square
#4B3370 #70333A #587033 #33706A
split-complementary
#4B3370 #706A33 #3A7033
monochromatic
#130D1C #2F2046 #4B3370 #67469A #8665B9

Accessibility & contrast

On white

10.47
#4B3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4B3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3370
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3370#FFFFFF#000000##FFFFFF
##4B33701.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F72
Deuteranopia (green-blind)
#243F6F
Tritanopia (blue-blind)
#433F4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b3370;
/* rgb */ color: rgb(75, 51, 112);
/* oklch */ color: oklch(38.0% 0.102 299.7);
Tailwind
colors: {
  custom: {
    50: '#7f6b99',
    500: '#4b3370',
    950: '#000000',
  },
}
SCSS
$custom: #4b3370;
$custom-light: #7f6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3370",
  "rgb": {
    "r": 75,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 263.607,
    "s": 37.423,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37961,
    "c": 0.10239,
    "h": 299.7
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#4B3370
secondary
#87A15E
accent
#CD5AA0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4B3370

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

Preview Lab → · Contrast checker → · Palette generator →

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