#4824A7#4824A7

#4824A7 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.192 H 286.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4824A7
RGBrgb(72, 36, 167)
HSLhsl(256, 65%, 40%)
HSVhsv(256, 78%, 65%)
CMYKcmyk(56.9%, 78.4%, 0%, 34.5%)
CIE-LABlab(27.92, 48.87, -63.91)
CIE-LCHlch(27.92, 80.45, 307.41°)
OKLaboklab(40.07% 0.0549 -0.184)
OKLCHoklch(40.07% 0.192 286.6)
XYZxyz(10.2763, 5.4289, 37.0581)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4824A7 #83A724
analogous
#2441A7 #4824A7 #8A24A7
triadic
#4824A7 #A74824 #24A748
tetradic
#4824A7 #A72441 #83A724 #24A78A
square
#4824A7 #A72441 #83A724 #24A78A
split-complementary
#4824A7 #A78A24 #41A724
monochromatic
#1D0E42 #321975 #4824A7 #6035D3 #8867DE

Accessibility & contrast

On white

10.07
#4824A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4824A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4824A7
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4824A7#FFFFFF#000000##FFFFFF
##4824A71.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#1B4A65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4824a7;
/* rgb */ color: rgb(72, 36, 167);
/* oklch */ color: oklch(40.1% 0.192 286.6);
Tailwind
colors: {
  custom: {
    50: '#8664c2',
    500: '#4824a7',
    950: '#000000',
  },
}
SCSS
$custom: #4824a7;
$custom-light: #8664c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4824a7",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 256.489,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40068,
    "c": 0.192,
    "h": 286.6
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#4824A7
secondary
#A9C463
accent
#E840BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4824A7

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

Preview Lab → · Contrast checker → · Palette generator →

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