#4B2096#4B2096

#4B2096 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.176 H 292.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#4B2096
RGBrgb(75, 32, 150)
HSLhsl(262, 65%, 36%)
HSVhsv(262, 79%, 59%)
CMYKcmyk(50%, 78.7%, 0%, 41.2%)
CIE-LABlab(25.95, 46.40, -56.78)
CIE-LCHlch(25.95, 73.33, 309.26°)
OKLaboklab(38.27% 0.0676 -0.163)
OKLCHoklch(38.27% 0.176 292.5)
XYZxyz(8.9216, 4.7306, 29.2913)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2096 #6B9620
analogous
#203096 #4B2096 #862096
triadic
#4B2096 #964B20 #20964B
tetradic
#4B2096 #962030 #6B9620 #209686
square
#4B2096 #962030 #6B9620 #209686
split-complementary
#4B2096 #968620 #309620
monochromatic
#190A31 #321564 #4B2096 #642BC8 #8656DB

Accessibility & contrast

On white

10.79
#4B2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4B2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2096
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2096#FFFFFF#000000##FFFFFF
##4B20961.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#33415A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2096;
/* rgb */ color: rgb(75, 32, 150);
/* oklch */ color: oklch(38.3% 0.176 292.5);
Tailwind
colors: {
  custom: {
    50: '#8661b6',
    500: '#4b2096',
    950: '#000000',
  },
}
SCSS
$custom: #4b2096;
$custom-light: #8661b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2096",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 261.864,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38269,
    "c": 0.17646,
    "h": 292.5
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#4B2096
secondary
#97BE53
accent
#E840AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2096

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

Preview Lab → · Contrast checker → · Palette generator →

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