#4B2295#4B2295

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

Color values

HEX#4B2295
RGBrgb(75, 34, 149)
HSLhsl(261, 63%, 36%)
HSVhsv(261, 77%, 58%)
CMYKcmyk(49.7%, 77.2%, 0%, 41.6%)
CIE-LABlab(26.18, 45.19, -55.78)
CIE-LCHlch(26.18, 71.79, 309.01°)
OKLaboklab(38.4% 0.0663 -0.1601)
OKLCHoklch(38.4% 0.173 292.5)
XYZxyz(8.8970, 4.8095, 28.8875)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2295 #6C9522
analogous
#223295 #4B2295 #842295
triadic
#4B2295 #954B22 #22954B
tetradic
#4B2295 #952232 #6C9522 #229584
square
#4B2295 #952232 #6C9522 #229584
split-complementary
#4B2295 #958422 #329522
monochromatic
#190B31 #321763 #4B2295 #642DC7 #8658D9

Accessibility & contrast

On white

10.70
#4B2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4B2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2295
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2295#FFFFFF#000000##FFFFFF
##4B22951.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2295;
/* rgb */ color: rgb(75, 34, 149);
/* oklch */ color: oklch(38.4% 0.173 292.5);
Tailwind
colors: {
  custom: {
    50: '#8562b5',
    500: '#4b2295',
    950: '#000000',
  },
}
SCSS
$custom: #4b2295;
$custom-light: #8562b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2295",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 261.391,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38403,
    "c": 0.17326,
    "h": 292.5
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#4B2295
secondary
#98BD56
accent
#E642AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2295

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

Preview Lab → · Contrast checker → · Palette generator →

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