#4823A4#4823A4

#4823A4 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.190 H 287.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4823A4
RGBrgb(72, 35, 164)
HSLhsl(257, 65%, 39%)
HSVhsv(257, 79%, 64%)
CMYKcmyk(56.1%, 78.7%, 0%, 35.7%)
CIE-LABlab(27.46, 48.49, -62.85)
CIE-LCHlch(27.46, 79.38, 307.65°)
OKLaboklab(39.66% 0.0564 -0.1809)
OKLCHoklch(39.66% 0.19 287.3)
XYZxyz(9.9724, 5.2596, 35.6045)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4823A4 #7FA423
analogous
#233FA4 #4823A4 #8923A4
triadic
#4823A4 #A44823 #23A448
tetradic
#4823A4 #A4233F #7FA423 #23A489
square
#4823A4 #A4233F #7FA423 #23A489
split-complementary
#4823A4 #A48923 #3FA423
monochromatic
#1C0D3F #321872 #4823A4 #6031D3 #8764DE

Accessibility & contrast

On white

10.23
#4823A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4823A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4823A4
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4823A4#FFFFFF#000000##FFFFFF
##4823A41.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#1F4863
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4823a4;
/* rgb */ color: rgb(72, 35, 164);
/* oklch */ color: oklch(39.7% 0.190 287.3);
Tailwind
colors: {
  custom: {
    50: '#8663c0',
    500: '#4823a4',
    950: '#000000',
  },
}
SCSS
$custom: #4823a4;
$custom-light: #8663c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4823a4",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 257.209,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39657,
    "c": 0.18951,
    "h": 287.3
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#4823A4
secondary
#A7C360
accent
#E840B8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4823A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4823A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva