#4B2097#4B2097

#4B2097 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.178 H 292.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#4B2097
RGBrgb(75, 32, 151)
HSLhsl(262, 65%, 36%)
HSVhsv(262, 79%, 59%)
CMYKcmyk(50.3%, 78.8%, 0%, 40.8%)
CIE-LABlab(26.05, 46.68, -57.23)
CIE-LCHlch(26.05, 73.85, 309.20°)
OKLaboklab(38.37% 0.0673 -0.1643)
OKLCHoklch(38.37% 0.178 292.3)
XYZxyz(9.0025, 4.7629, 29.7172)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2097 #6C9720
analogous
#203097 #4B2097 #862097
triadic
#4B2097 #974B20 #20974B
tetradic
#4B2097 #972030 #6C9720 #209786
square
#4B2097 #972030 #6C9720 #209786
split-complementary
#4B2097 #978620 #309720
monochromatic
#190B32 #321564 #4B2097 #642BC9 #8656DB

Accessibility & contrast

On white

10.75
#4B2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2097
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2097#FFFFFF#000000##FFFFFF
##4B20971.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#32415B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2097;
/* rgb */ color: rgb(75, 32, 151);
/* oklch */ color: oklch(38.4% 0.178 292.3);
Tailwind
colors: {
  custom: {
    50: '#8661b7',
    500: '#4b2097',
    950: '#000000',
  },
}
SCSS
$custom: #4b2097;
$custom-light: #8661b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2097",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 261.681,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38365,
    "c": 0.17758,
    "h": 292.3
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#4B2097
secondary
#98BF54
accent
#E840AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2097

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

Preview Lab → · Contrast checker → · Palette generator →

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