#4B2195#4B2195

#4B2195 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.174 H 292.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4B2195
RGBrgb(75, 33, 149)
HSLhsl(262, 64%, 36%)
HSVhsv(262, 78%, 58%)
CMYKcmyk(49.7%, 77.9%, 0%, 41.6%)
CIE-LABlab(26.02, 45.66, -56.05)
CIE-LCHlch(26.02, 72.30, 309.17°)
OKLaboklab(38.29% 0.0671 -0.1609)
OKLCHoklch(38.29% 0.174 292.6)
XYZxyz(8.8688, 4.7532, 28.8781)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2195 #6B9521
analogous
#213195 #4B2195 #852195
triadic
#4B2195 #954B21 #21954B
tetradic
#4B2195 #952131 #6B9521 #219585
square
#4B2195 #952131 #6B9521 #219585
split-complementary
#4B2195 #958521 #319521
monochromatic
#190B31 #321663 #4B2195 #642CC7 #8657DA

Accessibility & contrast

On white

10.77
#4B2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2195
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2195#FFFFFF#000000##FFFFFF
##4B21951.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#33415A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2195;
/* rgb */ color: rgb(75, 33, 149);
/* oklch */ color: oklch(38.3% 0.174 292.6);
Tailwind
colors: {
  custom: {
    50: '#8561b5',
    500: '#4b2195',
    950: '#000000',
  },
}
SCSS
$custom: #4b2195;
$custom-light: #8561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2195",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 261.724,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38287,
    "c": 0.1743,
    "h": 292.6
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#4B2195
secondary
#97BE54
accent
#E741AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2195

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

Preview Lab → · Contrast checker → · Palette generator →

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