#4B2F91#4B2F91

#4B2F91 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.153 H 291.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4B2F91
RGBrgb(75, 47, 145)
HSLhsl(257, 51%, 38%)
HSVhsv(257, 68%, 57%)
CMYKcmyk(48.3%, 67.6%, 0%, 43.1%)
CIE-LABlab(28.31, 37.15, -49.85)
CIE-LCHlch(28.31, 62.17, 306.69°)
OKLaboklab(39.8% 0.0547 -0.1427)
OKLCHoklch(39.8% 0.153 291)
XYZxyz(9.0276, 5.5729, 27.3826)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2F91 #75912F
analogous
#2F4491 #4B2F91 #7C2F91
triadic
#4B2F91 #914B2F #2F914B
tetradic
#4B2F91 #912F44 #75912F #2F917C
square
#4B2F91 #912F44 #75912F #2F917C
split-complementary
#4B2F91 #917C2F #44912F
monochromatic
#1B1135 #332063 #4B2F91 #633EBF #886BCF

Accessibility & contrast

On white

9.93
#4B2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4B2F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2F91
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2F91#FFFFFF#000000##FFFFFF
##4B2F911.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#35475C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b2f91;
/* rgb */ color: rgb(75, 47, 145);
/* oklch */ color: oklch(39.8% 0.153 291.0);
Tailwind
colors: {
  custom: {
    50: '#8469b2',
    500: '#4b2f91',
    950: '#000000',
  },
}
SCSS
$custom: #4b2f91;
$custom-light: #8469b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2f91",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 257.143,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39804,
    "c": 0.15284,
    "h": 291
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#4B2F91
secondary
#9FB665
accent
#DB4DB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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