#4B2F99#4B2F99

#4B2F99 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.163 H 289.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4B2F99
RGBrgb(75, 47, 153)
HSLhsl(256, 53%, 39%)
HSVhsv(256, 69%, 60%)
CMYKcmyk(51%, 69.3%, 0%, 40%)
CIE-LABlab(28.98, 39.53, -53.67)
CIE-LCHlch(28.98, 66.65, 306.37°)
OKLaboklab(40.49% 0.0534 -0.154)
OKLCHoklch(40.49% 0.163 289.1)
XYZxyz(9.6663, 5.8284, 30.7465)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2F99 #7D992F
analogous
#2F4899 #4B2F99 #802F99
triadic
#4B2F99 #994B2F #2F994B
tetradic
#4B2F99 #992F48 #7D992F #2F9980
square
#4B2F99 #992F48 #7D992F #2F9980
split-complementary
#4B2F99 #99802F #48992F
monochromatic
#1D123B #34216A #4B2F99 #6441C5 #8A6FD3

Accessibility & contrast

On white

9.70
#4B2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4B2F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2F99
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2F99#FFFFFF#000000##FFFFFF
##4B2F991.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#304A60
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b2f99;
/* rgb */ color: rgb(75, 47, 153);
/* oklch */ color: oklch(40.5% 0.163 289.1);
Tailwind
colors: {
  custom: {
    50: '#856ab8',
    500: '#4b2f99',
    950: '#000000',
  },
}
SCSS
$custom: #4b2f99;
$custom-light: #856ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2f99",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 255.849,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.16298,
    "h": 289.1
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#4B2F99
secondary
#A5BA69
accent
#DC4BB6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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