#4B2E8E#4B2E8E

#4B2E8E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.150 H 291.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4B2E8E
RGBrgb(75, 46, 142)
HSLhsl(258, 51%, 37%)
HSVhsv(258, 68%, 56%)
CMYKcmyk(47.2%, 67.6%, 0%, 44.3%)
CIE-LABlab(27.85, 36.83, -48.74)
CIE-LCHlch(27.85, 61.09, 307.08°)
OKLaboklab(39.4% 0.0561 -0.1395)
OKLCHoklch(39.4% 0.15 291.9)
XYZxyz(8.7598, 5.4025, 26.1672)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2E8E #718E2E
analogous
#2E418E #4B2E8E #7B2E8E
triadic
#4B2E8E #8E4B2E #2E8E4B
tetradic
#4B2E8E #8E2E41 #718E2E #2E8E7B
square
#4B2E8E #8E2E41 #718E2E #2E8E7B
split-complementary
#4B2E8E #8E7B2E #418E2E
monochromatic
#1A1032 #331F60 #4B2E8E #633DBC #8768CE

Accessibility & contrast

On white

10.09
#4B2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4B2E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2E8E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2E8E#FFFFFF#000000##FFFFFF
##4B2E8E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#37455A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b2e8e;
/* rgb */ color: rgb(75, 46, 142);
/* oklch */ color: oklch(39.4% 0.150 291.9);
Tailwind
colors: {
  custom: {
    50: '#8369b0',
    500: '#4b2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #4b2e8e;
$custom-light: #8369b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2e8e",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 258.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39399,
    "c": 0.15035,
    "h": 291.9
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#4B2E8E
secondary
#9CB563
accent
#DB4DB0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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