#4831AD#4831AD

#4831AD is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.186 H 283.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4831AD
RGBrgb(72, 49, 173)
HSLhsl(251, 56%, 44%)
HSVhsv(251, 72%, 68%)
CMYKcmyk(58.4%, 71.7%, 0%, 32.2%)
CIE-LABlab(30.86, 43.97, -62.69)
CIE-LCHlch(30.86, 76.58, 305.04°)
OKLaboklab(42.31% 0.0436 -0.1805)
OKLCHoklch(42.31% 0.186 283.6)
XYZxyz(11.3113, 6.5908, 40.2032)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831AD #96AD31
analogous
#3158AD #4831AD #8631AD
triadic
#4831AD #AD4831 #31AD48
tetradic
#4831AD #AD3158 #96AD31 #31AD86
square
#4831AD #AD3158 #96AD31 #31AD86
split-complementary
#4831AD #AD8631 #58AD31
monochromatic
#20164E #34237D #4831AD #664ECD #8F7EDA

Accessibility & contrast

On white

9.06
#4831AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4831AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831AD
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831AD#FFFFFF#000000##FFFFFF
##4831AD1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#0E526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4831ad;
/* rgb */ color: rgb(72, 49, 173);
/* oklch */ color: oklch(42.3% 0.186 283.6);
Tailwind
colors: {
  custom: {
    50: '#866bc7',
    500: '#4831ad',
    950: '#000000',
  },
}
SCSS
$custom: #4831ad;
$custom-light: #866bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4831ad",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 251.129,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.18574,
    "h": 283.6
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#4831AD
secondary
#B5C377
accent
#DF49C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4831AD

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

Preview Lab → · Contrast checker → · Palette generator →

#4831AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva