#4C23AF#4C23AF

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

Color values

HEX#4C23AF
RGBrgb(76, 35, 175)
HSLhsl(258, 67%, 41%)
HSVhsv(258, 80%, 69%)
CMYKcmyk(56.6%, 80%, 0%, 31.4%)
CIE-LABlab(28.99, 52.07, -66.95)
CIE-LCHlch(28.99, 84.82, 307.87°)
OKLaboklab(41.15% 0.0592 -0.1928)
OKLCHoklch(41.15% 0.202 287.1)
XYZxyz(11.3171, 5.8331, 41.0787)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C23AF #86AF23
analogous
#2340AF #4C23AF #9223AF
triadic
#4C23AF #AF4C23 #23AF4C
tetradic
#4C23AF #AF2340 #86AF23 #23AF92
square
#4C23AF #AF2340 #86AF23 #23AF92
split-complementary
#4C23AF #AF9223 #40AF23
monochromatic
#200F49 #36197C #4C23AF #6738D7 #8E6BE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C23AF#FFFFFF#000000##FFFFFF
##4C23AF1.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)
#0048B3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#1E4D69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c23af;
/* rgb */ color: rgb(76, 35, 175);
/* oklch */ color: oklch(41.1% 0.202 287.1);
Tailwind
colors: {
  custom: {
    50: '#8a64c8',
    500: '#4c23af',
    950: '#000000',
  },
}
SCSS
$custom: #4c23af;
$custom-light: #8a64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c23af",
  "rgb": {
    "r": 76,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 257.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41148,
    "c": 0.20165,
    "h": 287.1
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#4C23AF
secondary
#ABC766
accent
#EA3EB7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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