#4B2083#4B2083

#4B2083 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.155 H 298.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#4B2083
RGBrgb(75, 32, 131)
HSLhsl(266, 61%, 32%)
HSVhsv(266, 76%, 51%)
CMYKcmyk(42.7%, 75.6%, 0%, 48.6%)
CIE-LABlab(24.22, 41.24, -47.80)
CIE-LCHlch(24.22, 63.13, 310.79°)
OKLaboklab(36.52% 0.0727 -0.1367)
OKLCHoklch(36.52% 0.155 298)
XYZxyz(7.5138, 4.1674, 21.8769)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2083 #588320
analogous
#202683 #4B2083 #7D2083
triadic
#4B2083 #834B20 #20834B
tetradic
#4B2083 #832026 #588320 #20837D
square
#4B2083 #832026 #588320 #20837D
split-complementary
#4B2083 #837D20 #268320
monochromatic
#130821 #2F1452 #4B2083 #672CB4 #864AD3

Accessibility & contrast

On white

11.45
#4B2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4B2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2083
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2083#FFFFFF#000000##FFFFFF
##4B20831.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#3D3950
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2083;
/* rgb */ color: rgb(75, 32, 131);
/* oklch */ color: oklch(36.5% 0.155 298.0);
Tailwind
colors: {
  custom: {
    50: '#8360a8',
    500: '#4b2083',
    950: '#000000',
  },
}
SCSS
$custom: #4b2083;
$custom-light: #8360a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2083",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 266.061,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36517,
    "c": 0.1548,
    "h": 298
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#4B2083
secondary
#87B649
accent
#E4449E
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2083

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

Preview Lab → · Contrast checker → · Palette generator →

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