#4824B2#4824B2

#4824B2 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.2% C 0.204 H 284.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4824B2
RGBrgb(72, 36, 178)
HSLhsl(255, 66%, 42%)
HSVhsv(255, 80%, 70%)
CMYKcmyk(59.6%, 79.8%, 0%, 30.2%)
CIE-LABlab(29.04, 51.99, -68.67)
CIE-LCHlch(29.04, 86.14, 307.13°)
OKLaboklab(41.18% 0.0515 -0.1979)
OKLCHoklch(41.18% 0.205 284.6)
XYZxyz(11.3368, 5.8531, 42.6432)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4824B2 #8EB224
analogous
#2447B2 #4824B2 #8F24B2
triadic
#4824B2 #B24824 #24B248
tetradic
#4824B2 #B22447 #8EB224 #24B28F
square
#4824B2 #B22447 #8EB224 #24B28F
split-complementary
#4824B2 #B28F24 #47B224
monochromatic
#1F0F4C #331A7F #4824B2 #633CD8 #8C6FE2

Accessibility & contrast

On white

9.67
#4824B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4824B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4824B2
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4824B2#FFFFFF#000000##FFFFFF
##4824B21.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#014E6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4824b2;
/* rgb */ color: rgb(72, 36, 178);
/* oklch */ color: oklch(41.2% 0.204 284.6);
Tailwind
colors: {
  custom: {
    50: '#8864ca',
    500: '#4824b2',
    950: '#000000',
  },
}
SCSS
$custom: #4824b2;
$custom-light: #8864ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4824b2",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 255.211,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41178,
    "c": 0.2045,
    "h": 284.6
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#4824B2
secondary
#B0C869
accent
#E93FBE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4824B2

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

Preview Lab → · Contrast checker → · Palette generator →

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