#4826A2#4826A2

#4826A2 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.184 H 287.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4826A2
RGBrgb(72, 38, 162)
HSLhsl(256, 62%, 39%)
HSVhsv(256, 77%, 64%)
CMYKcmyk(55.6%, 76.5%, 0%, 36.5%)
CIE-LABlab(27.77, 46.47, -61.14)
CIE-LCHlch(27.77, 76.79, 307.24°)
OKLaboklab(39.81% 0.0548 -0.1759)
OKLCHoklch(39.81% 0.184 287.3)
XYZxyz(9.8852, 5.3721, 34.6914)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826A2 #80A226
analogous
#2642A2 #4826A2 #8626A2
triadic
#4826A2 #A24826 #26A248
tetradic
#4826A2 #A22642 #80A226 #26A286
square
#4826A2 #A22642 #80A226 #26A286
split-complementary
#4826A2 #A28626 #42A226
monochromatic
#1C0F3F #321A70 #4826A2 #6035D0 #8767DB

Accessibility & contrast

On white

10.12
#4826A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4826A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4826A2
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4826A2#FFFFFF#000000##FFFFFF
##4826A21.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#214963
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4826a2;
/* rgb */ color: rgb(72, 38, 162);
/* oklch */ color: oklch(39.8% 0.184 287.3);
Tailwind
colors: {
  custom: {
    50: '#8564bf',
    500: '#4826a2',
    950: '#000000',
  },
}
SCSS
$custom: #4826a2;
$custom-light: #8564bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4826a2",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 256.452,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.18426,
    "h": 287.3
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#4826A2
secondary
#A7C163
accent
#E543B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4826A2

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

Preview Lab → · Contrast checker → · Palette generator →

#4826A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva