#4C23AE#4C23AE

#4C23AE is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.0% C 0.201 H 287.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4C23AE
RGBrgb(76, 35, 174)
HSLhsl(258, 67%, 41%)
HSVhsv(258, 80%, 68%)
CMYKcmyk(56.3%, 79.9%, 0%, 31.8%)
CIE-LABlab(28.89, 51.79, -66.52)
CIE-LCHlch(28.89, 84.31, 307.91°)
OKLaboklab(41.05% 0.0595 -0.1915)
OKLCHoklch(41.05% 0.201 287.3)
XYZxyz(11.2192, 5.7939, 40.5634)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C23AE #85AE23
analogous
#233FAE #4C23AE #9123AE
triadic
#4C23AE #AE4C23 #23AE4C
tetradic
#4C23AE #AE233F #85AE23 #23AE91
square
#4C23AE #AE233F #85AE23 #23AE91
split-complementary
#4C23AE #AE9123 #3FAE23
monochromatic
#1F0F48 #36197B #4C23AE #6637D7 #8D6AE1

Accessibility & contrast

On white

9.73
#4C23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4C23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C23AE
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C23AE#FFFFFF#000000##FFFFFF
##4C23AE1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#1F4C69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c23ae;
/* rgb */ color: rgb(76, 35, 174);
/* oklch */ color: oklch(41.0% 0.201 287.3);
Tailwind
colors: {
  custom: {
    50: '#8a64c7',
    500: '#4c23ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c23ae;
$custom-light: #8a64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c23ae",
  "rgb": {
    "r": 76,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 257.698,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41048,
    "c": 0.20053,
    "h": 287.3
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#4C23AE
secondary
#AAC766
accent
#E93EB7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C23AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4C23AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva