#4B2F76#4B2F76

#4B2F76 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.7% C 0.117 H 298.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#4B2F76
RGBrgb(75, 47, 118)
HSLhsl(264, 43%, 32%)
HSVhsv(264, 60%, 46%)
CMYKcmyk(36.4%, 60.2%, 0%, 53.7%)
CIE-LABlab(26.26, 29.26, -36.26)
CIE-LCHlch(26.26, 46.60, 308.90°)
OKLaboklab(37.67% 0.0566 -0.1028)
OKLCHoklch(37.67% 0.117 298.8)
XYZxyz(7.1874, 4.8368, 17.6910)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2F76 #5A762F
analogous
#2F3776 #4B2F76 #6F2F76
triadic
#4B2F76 #764B2F #2F764B
tetradic
#4B2F76 #762F37 #5A762F #2F766F
square
#4B2F76 #762F37 #5A762F #2F766F
split-complementary
#4B2F76 #766F2F #37762F
monochromatic
#130C1E #2F1E4A #4B2F76 #6740A2 #8660C0

Accessibility & contrast

On white

10.67
#4B2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4B2F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2F76
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2F76#FFFFFF#000000##FFFFFF
##4B2F761.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3E78
Deuteranopia (green-blind)
#183D74
Tritanopia (blue-blind)
#423E4D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2f76;
/* rgb */ color: rgb(75, 47, 118);
/* oklch */ color: oklch(37.7% 0.117 298.8);
Tailwind
colors: {
  custom: {
    50: '#80699e',
    500: '#4b2f76',
    950: '#000000',
  },
}
SCSS
$custom: #4b2f76;
$custom-light: #80699e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2f76",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 263.662,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37672,
    "c": 0.11735,
    "h": 298.8
  },
  "luminance": 0.04837
}

Semantic roles & 50–950 ramp

primary
#4B2F76
secondary
#88A75A
accent
#D355A1
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4B2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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