#4834AB#4834AB

#4834AB is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.180 H 283.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4834AB
RGBrgb(72, 52, 171)
HSLhsl(250, 53%, 44%)
HSVhsv(250, 70%, 67%)
CMYKcmyk(57.9%, 69.6%, 0%, 32.9%)
CIE-LABlab(31.29, 41.67, -60.79)
CIE-LCHlch(31.29, 73.70, 304.43°)
OKLaboklab(42.56% 0.0415 -0.175)
OKLCHoklch(42.56% 0.18 283.3)
XYZxyz(11.2489, 6.7733, 39.2348)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4834AB #97AB34
analogous
#345BAB #4834AB #8334AB
triadic
#4834AB #AB4834 #34AB48
tetradic
#4834AB #AB345B #97AB34 #34AB83
square
#4834AB #AB345B #97AB34 #34AB83
split-complementary
#4834AB #AB8334 #5BAB34
monochromatic
#20174D #34267C #4834AB #6652CA #9081D9

Accessibility & contrast

On white

8.92
#4834AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4834AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4834AB
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4834AB#FFFFFF#000000##FFFFFF
##4834AB1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#12536B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4834ab;
/* rgb */ color: rgb(72, 52, 171);
/* oklch */ color: oklch(42.6% 0.180 283.3);
Tailwind
colors: {
  custom: {
    50: '#866dc5',
    500: '#4834ab',
    950: '#000000',
  },
}
SCSS
$custom: #4834ab;
$custom-light: #866dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4834ab",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 250.084,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4256,
    "c": 0.17984,
    "h": 283.3
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#4834AB
secondary
#B6C279
accent
#DD4BC4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4834AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4834AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva