#4B2F8B#4B2F8B

#4B2F8B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.145 H 292.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4B2F8B
RGBrgb(75, 47, 139)
HSLhsl(258, 49%, 36%)
HSVhsv(258, 66%, 55%)
CMYKcmyk(46%, 66.2%, 0%, 45.5%)
CIE-LABlab(27.83, 35.37, -46.92)
CIE-LCHlch(27.83, 58.76, 307.01°)
OKLaboklab(39.3% 0.0554 -0.1341)
OKLCHoklch(39.3% 0.145 292.4)
XYZxyz(8.5771, 5.3927, 25.0101)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2F8B #6F8B2F
analogous
#2F418B #4B2F8B #792F8B
triadic
#4B2F8B #8B4B2F #2F8B4B
tetradic
#4B2F8B #8B2F41 #6F8B2F #2F8B79
square
#4B2F8B #8B2F41 #6F8B2F #2F8B79
split-complementary
#4B2F8B #8B792F #418B2F
monochromatic
#1A1030 #32205D #4B2F8B #643EB9 #8768CC

Accessibility & contrast

On white

10.10
#4B2F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4B2F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2F8B
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2F8B#FFFFFF#000000##FFFFFF
##4B2F8B1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#384558
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b2f8b;
/* rgb */ color: rgb(75, 47, 139);
/* oklch */ color: oklch(39.3% 0.145 292.4);
Tailwind
colors: {
  custom: {
    50: '#8369ae',
    500: '#4b2f8b',
    950: '#000000',
  },
}
SCSS
$custom: #4b2f8b;
$custom-light: #8369ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2f8b",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 258.261,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.14512,
    "h": 292.4
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#4B2F8B
secondary
#9BB363
accent
#D94FAF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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