#4D23AE#4D23AE

#4D23AE is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.200 H 287.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4D23AE
RGBrgb(77, 35, 174)
HSLhsl(258, 67%, 41%)
HSVhsv(258, 80%, 68%)
CMYKcmyk(55.7%, 79.9%, 0%, 31.8%)
CIE-LABlab(28.99, 51.92, -66.34)
CIE-LCHlch(28.99, 84.24, 308.05°)
OKLaboklab(41.15% 0.0611 -0.1909)
OKLCHoklch(41.15% 0.2 287.7)
XYZxyz(11.2993, 5.8352, 40.5671)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D23AE #84AE23
analogous
#233FAE #4D23AE #9223AE
triadic
#4D23AE #AE4D23 #23AE4D
tetradic
#4D23AE #AE233F #84AE23 #23AE92
square
#4D23AE #AE233F #84AE23 #23AE92
split-complementary
#4D23AE #AE9223 #3FAE23
monochromatic
#200F48 #36197B #4D23AE #6837D7 #8E6AE1

Accessibility & contrast

On white

9.69
#4D23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4D23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D23AE
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D23AE#FFFFFF#000000##FFFFFF
##4D23AE1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#224C69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d23ae;
/* rgb */ color: rgb(77, 35, 174);
/* oklch */ color: oklch(41.1% 0.200 287.7);
Tailwind
colors: {
  custom: {
    50: '#8a64c7',
    500: '#4d23ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d23ae;
$custom-light: #8a64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d23ae",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 258.129,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.20047,
    "h": 287.7
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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