#4B1983#4B1983

#4B1983 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.163 H 299.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#4B1983
RGBrgb(75, 25, 131)
HSLhsl(268, 68%, 31%)
HSVhsv(268, 81%, 51%)
CMYKcmyk(42.7%, 80.9%, 0%, 48.6%)
CIE-LABlab(23.10, 44.44, -49.63)
CIE-LCHlch(23.10, 66.61, 311.84°)
OKLaboklab(35.73% 0.0791 -0.142)
OKLCHoklch(35.73% 0.163 299.1)
XYZxyz(7.3450, 3.8297, 21.8206)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1983 #518319
analogous
#191C83 #4B1983 #801983
triadic
#4B1983 #834B19 #19834B
tetradic
#4B1983 #83191C #518319 #198380
square
#4B1983 #83191C #518319 #198380
split-complementary
#4B1983 #838019 #1C8319
monochromatic
#10051C #2E0F50 #4B1983 #6823B6 #873DDA

Accessibility & contrast

On white

11.89
#4B1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4B1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1983
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1983#FFFFFF#000000##FFFFFF
##4B19831.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#3D364E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b1983;
/* rgb */ color: rgb(75, 25, 131);
/* oklch */ color: oklch(35.7% 0.163 299.1);
Tailwind
colors: {
  custom: {
    50: '#835ca8',
    500: '#4b1983',
    950: '#000000',
  },
}
SCSS
$custom: #4b1983;
$custom-light: #835ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1983",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 268.302,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35733,
    "c": 0.1625,
    "h": 299.1
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#4B1983
secondary
#7FB741
accent
#EB3D99
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4B1983

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

Preview Lab → · Contrast checker → · Palette generator →

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