#4B2E7C#4B2E7C

#4B2E7C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.127 H 297.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#4B2E7C
RGBrgb(75, 46, 124)
HSLhsl(262, 46%, 33%)
HSVhsv(262, 63%, 49%)
CMYKcmyk(39.5%, 62.9%, 0%, 51.4%)
CIE-LABlab(26.46, 31.58, -39.75)
CIE-LCHlch(26.46, 50.77, 308.47°)
OKLaboklab(37.95% 0.0578 -0.113)
OKLCHoklch(37.95% 0.127 297.1)
XYZxyz(7.5158, 4.9050, 19.6157)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2E7C #5F7C2E
analogous
#2E387C #4B2E7C #722E7C
triadic
#4B2E7C #7C4B2E #2E7C4B
tetradic
#4B2E7C #7C2E38 #5F7C2E #2E7C72
square
#4B2E7C #7C2E38 #5F7C2E #2E7C72
split-complementary
#4B2E7C #7C722E #387C2E
monochromatic
#150D23 #301D4F #4B2E7C #663FA9 #8560C4

Accessibility & contrast

On white

10.60
#4B2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4B2E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2E7C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2E7C#FFFFFF#000000##FFFFFF
##4B2E7C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#0B3E7A
Tritanopia (blue-blind)
#3F3F50
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2e7c;
/* rgb */ color: rgb(75, 46, 124);
/* oklch */ color: oklch(38.0% 0.127 297.1);
Tailwind
colors: {
  custom: {
    50: '#8168a2',
    500: '#4b2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #4b2e7c;
$custom-light: #8168a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2e7c",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 262.308,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37953,
    "c": 0.12694,
    "h": 297.1
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#4B2E7C
secondary
#8DAB5B
accent
#D652A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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