#4B2B82#4B2B82

#4B2B82 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.139 H 296.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#4B2B82
RGBrgb(75, 43, 130)
HSLhsl(262, 50%, 34%)
HSVhsv(262, 67%, 51%)
CMYKcmyk(42.3%, 66.9%, 0%, 49%)
CIE-LABlab(26.26, 35.07, -43.85)
CIE-LCHlch(26.26, 56.15, 308.65°)
OKLaboklab(37.95% 0.061 -0.1251)
OKLCHoklch(37.95% 0.139 296)
XYZxyz(7.7937, 4.8352, 21.6374)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B82 #62822B
analogous
#2B3782 #4B2B82 #772B82
triadic
#4B2B82 #824B2B #2B824B
tetradic
#4B2B82 #822B37 #62822B #2B8277
square
#4B2B82 #822B37 #62822B #2B8277
split-complementary
#4B2B82 #82772B #37822B
monochromatic
#160D26 #301C54 #4B2B82 #663AB0 #855ECA

Accessibility & contrast

On white

10.68
#4B2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4B2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B82
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B82#FFFFFF#000000##FFFFFF
##4B2B821.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#3D3F52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2b82;
/* rgb */ color: rgb(75, 43, 130);
/* oklch */ color: oklch(38.0% 0.139 296.0);
Tailwind
colors: {
  custom: {
    50: '#8266a7',
    500: '#4b2b82',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b82;
$custom-light: #8266a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b82",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 262.069,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3795,
    "c": 0.13918,
    "h": 296
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#4B2B82
secondary
#90B059
accent
#DA4EA6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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