#4B2291#4B2291

#4B2291 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.169 H 293.5°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#4B2291
RGBrgb(75, 34, 145)
HSLhsl(262, 62%, 35%)
HSVhsv(262, 77%, 57%)
CMYKcmyk(48.3%, 76.6%, 0%, 43.1%)
CIE-LABlab(25.81, 44.09, -53.92)
CIE-LCHlch(25.81, 69.65, 309.27°)
OKLaboklab(38.03% 0.0673 -0.1546)
OKLCHoklch(38.03% 0.169 293.5)
XYZxyz(8.5831, 4.6840, 27.2344)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2291 #689122
analogous
#223191 #4B2291 #822291
triadic
#4B2291 #914B22 #22914B
tetradic
#4B2291 #912231 #689122 #229182
square
#4B2291 #912231 #689122 #229182
split-complementary
#4B2291 #918222 #319122
monochromatic
#180B2E #31165F #4B2291 #652EC3 #8656D7

Accessibility & contrast

On white

10.84
#4B2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4B2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2291
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2291#FFFFFF#000000##FFFFFF
##4B22911.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#364058
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2291;
/* rgb */ color: rgb(75, 34, 145);
/* oklch */ color: oklch(38.0% 0.169 293.5);
Tailwind
colors: {
  custom: {
    50: '#8562b2',
    500: '#4b2291',
    950: '#000000',
  },
}
SCSS
$custom: #4b2291;
$custom-light: #8562b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2291",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 262.162,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38029,
    "c": 0.16867,
    "h": 293.5
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#4B2291
secondary
#95BB53
accent
#E543A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2291

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

Preview Lab → · Contrast checker → · Palette generator →

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