#4824BA#4824BA

#4824BA is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.213 H 283.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4824BA
RGBrgb(72, 36, 186)
HSLhsl(254, 68%, 44%)
HSVhsv(254, 81%, 73%)
CMYKcmyk(61.3%, 80.6%, 0%, 27.1%)
CIE-LABlab(29.87, 54.24, -72.06)
CIE-LCHlch(29.87, 90.19, 306.97°)
OKLaboklab(42% 0.0489 -0.2078)
OKLCHoklch(42% 0.213 283.3)
XYZxyz(12.1635, 6.1838, 46.9975)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4824BA #96BA24
analogous
#244BBA #4824BA #9324BA
triadic
#4824BA #BA4824 #24BA48
tetradic
#4824BA #BA244B #96BA24 #24BA93
square
#4824BA #BA244B #96BA24 #24BA93
split-complementary
#4824BA #BA9324 #4BBA24
monochromatic
#201053 #341A87 #4824BA #6641DA #8F74E4

Accessibility & contrast

On white

9.39
#4824BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4824BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4824BA
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4824BA#FFFFFF#000000##FFFFFF
##4824BA1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4824ba;
/* rgb */ color: rgb(72, 36, 186);
/* oklch */ color: oklch(42.0% 0.213 283.3);
Tailwind
colors: {
  custom: {
    50: '#8a65d0',
    500: '#4824ba',
    950: '#000000',
  },
}
SCSS
$custom: #4824ba;
$custom-light: #8a65d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4824ba",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 254.4,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42003,
    "c": 0.21348,
    "h": 283.3
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#4824BA
secondary
#B5CB6E
accent
#EA3DC1
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4824BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4824BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva