#4823CA#4823CA

#4823CA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.6% C 0.232 H 281.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4823CA
RGBrgb(72, 35, 202)
HSLhsl(253, 70%, 46%)
HSVhsv(253, 83%, 79%)
CMYKcmyk(64.4%, 82.7%, 0%, 20.8%)
CIE-LABlab(31.45, 59.11, -78.87)
CIE-LCHlch(31.45, 98.56, 306.85°)
OKLaboklab(43.6% 0.0442 -0.2276)
OKLCHoklch(43.6% 0.232 281)
XYZxyz(13.9308, 6.8430, 56.4524)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4823CA #A5CA23
analogous
#2352CA #4823CA #9C23CA
triadic
#4823CA #CA4823 #23CA48
tetradic
#4823CA #CA2352 #A5CA23 #23CA9C
square
#4823CA #CA2352 #A5CA23 #23CA9C
split-complementary
#4823CA #CA9C23 #52CA23
monochromatic
#231162 #351A96 #4823CA #6C4AE0 #967FE9

Accessibility & contrast

On white

8.87
#4823CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4823CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4823CA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4823CA#FFFFFF#000000##FFFFFF
##4823CA1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4823ca;
/* rgb */ color: rgb(72, 35, 202);
/* oklch */ color: oklch(43.6% 0.232 281.0);
Tailwind
colors: {
  custom: {
    50: '#8d65dc',
    500: '#4823ca',
    950: '#000000',
  },
}
SCSS
$custom: #4823ca;
$custom-light: #8d65dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4823ca",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 253.293,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43595,
    "c": 0.23185,
    "h": 281
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#4823CA
secondary
#BDD178
accent
#ED3BC6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4823CA

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

Preview Lab → · Contrast checker → · Palette generator →

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