#4B2B85#4B2B85

#4B2B85 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.143 H 295.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#4B2B85
RGBrgb(75, 43, 133)
HSLhsl(261, 51%, 35%)
HSVhsv(261, 68%, 52%)
CMYKcmyk(43.6%, 67.7%, 0%, 47.8%)
CIE-LABlab(26.50, 35.93, -45.34)
CIE-LCHlch(26.50, 57.85, 308.39°)
OKLaboklab(38.2% 0.0606 -0.1295)
OKLCHoklch(38.2% 0.143 295.1)
XYZxyz(7.9980, 4.9169, 22.7134)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B85 #65852B
analogous
#2B3885 #4B2B85 #782B85
triadic
#4B2B85 #854B2B #2B854B
tetradic
#4B2B85 #852B38 #65852B #2B8578
square
#4B2B85 #852B38 #65852B #2B8578
split-complementary
#4B2B85 #85782B #38852B
monochromatic
#170D29 #311C57 #4B2B85 #653AB3 #865FCB

Accessibility & contrast

On white

10.59
#4B2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4B2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B85
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B85#FFFFFF#000000##FFFFFF
##4B2B851.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#3C4054
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2b85;
/* rgb */ color: rgb(75, 43, 133);
/* oklch */ color: oklch(38.2% 0.143 295.1);
Tailwind
colors: {
  custom: {
    50: '#8266a9',
    500: '#4b2b85',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b85;
$custom-light: #8266a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b85",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 261.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38195,
    "c": 0.14299,
    "h": 295.1
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#4B2B85
secondary
#92B15B
accent
#DB4DA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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