#4831AE#4831AE

#4831AE is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.187 H 283.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4831AE
RGBrgb(72, 49, 174)
HSLhsl(251, 56%, 44%)
HSVhsv(251, 72%, 68%)
CMYKcmyk(58.6%, 71.8%, 0%, 31.8%)
CIE-LABlab(30.95, 44.28, -63.14)
CIE-LCHlch(30.95, 77.12, 305.04°)
OKLaboklab(42.4% 0.0434 -0.1819)
OKLCHoklch(42.4% 0.187 283.4)
XYZxyz(11.4084, 6.6296, 40.7147)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831AE #97AE31
analogous
#3158AE #4831AE #8631AE
triadic
#4831AE #AE4831 #31AE48
tetradic
#4831AE #AE3158 #97AE31 #31AE86
square
#4831AE #AE3158 #97AE31 #31AE86
split-complementary
#4831AE #AE8631 #58AE31
monochromatic
#20164E #34247E #4831AE #664FCD #907FDB

Accessibility & contrast

On white

9.03
#4831AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4831AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831AE
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831AE#FFFFFF#000000##FFFFFF
##4831AE1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#0B536C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4831ae;
/* rgb */ color: rgb(72, 49, 174);
/* oklch */ color: oklch(42.4% 0.187 283.4);
Tailwind
colors: {
  custom: {
    50: '#866bc7',
    500: '#4831ae',
    950: '#000000',
  },
}
SCSS
$custom: #4831ae;
$custom-light: #866bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4831ae",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 251.04,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42403,
    "c": 0.18697,
    "h": 283.4
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#4831AE
secondary
#B6C477
accent
#DF48C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4831AE

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

Preview Lab → · Contrast checker → · Palette generator →

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