#4B2E71#4B2E71

#4B2E71 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.1% C 0.112 H 301.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#4B2E71
RGBrgb(75, 46, 113)
HSLhsl(266, 42%, 31%)
HSVhsv(266, 59%, 44%)
CMYKcmyk(33.6%, 59.3%, 0%, 55.7%)
CIE-LABlab(25.69, 28.47, -34.00)
CIE-LCHlch(25.69, 44.34, 309.94°)
OKLaboklab(37.14% 0.0579 -0.0962)
OKLCHoklch(37.14% 0.112 301.1)
XYZxyz(6.8586, 4.6421, 16.1543)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2E71 #54712E
analogous
#2E3271 #4B2E71 #6C2E71
triadic
#4B2E71 #714B2E #2E714B
tetradic
#4B2E71 #712E32 #54712E #2E716C
square
#4B2E71 #712E32 #54712E #2E716C
split-complementary
#4B2E71 #716C2E #32712E
monochromatic
#110B1A #2E1C46 #4B2E71 #68409C #865DBD

Accessibility & contrast

On white

10.89
#4B2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4B2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2E71
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2E71#FFFFFF#000000##FFFFFF
##4B2E711.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C73
Deuteranopia (green-blind)
#1C3C6F
Tritanopia (blue-blind)
#433B4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2e71;
/* rgb */ color: rgb(75, 46, 113);
/* oklch */ color: oklch(37.1% 0.112 301.1);
Tailwind
colors: {
  custom: {
    50: '#80689a',
    500: '#4b2e71',
    950: '#000000',
  },
}
SCSS
$custom: #4b2e71;
$custom-light: #80689a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2e71",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 265.97,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3714,
    "c": 0.11227,
    "h": 301.1
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#4B2E71
secondary
#82A258
accent
#D2569C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4B2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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