#4C23CA#4C23CA

#4C23CA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.231 H 282.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4C23CA
RGBrgb(76, 35, 202)
HSLhsl(255, 70%, 46%)
HSVhsv(255, 83%, 79%)
CMYKcmyk(62.4%, 82.7%, 0%, 20.8%)
CIE-LABlab(31.81, 59.47, -78.25)
CIE-LCHlch(31.81, 98.29, 307.23°)
OKLaboklab(43.93% 0.0502 -0.2257)
OKLCHoklch(43.93% 0.231 282.5)
XYZxyz(14.2389, 7.0018, 56.4668)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C23CA #A1CA23
analogous
#234DCA #4C23CA #A023CA
triadic
#4C23CA #CA4C23 #23CA4C
tetradic
#4C23CA #CA234D #A1CA23 #23CAA0
square
#4C23CA #CA234D #A1CA23 #23CAA0
split-complementary
#4C23CA #CAA023 #4DCA23
monochromatic
#251162 #381A96 #4C23CA #6F4AE0 #997FE9

Accessibility & contrast

On white

8.75
#4C23CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4C23CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C23CA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C23CA#FFFFFF#000000##FFFFFF
##4C23CA1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c23ca;
/* rgb */ color: rgb(76, 35, 202);
/* oklch */ color: oklch(43.9% 0.231 282.5);
Tailwind
colors: {
  custom: {
    50: '#8e66dc',
    500: '#4c23ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c23ca;
$custom-light: #8e66dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c23ca",
  "rgb": {
    "r": 76,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 254.731,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.23123,
    "h": 282.5
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#4C23CA
secondary
#BBD178
accent
#ED3BC1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4C23CA

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

Preview Lab → · Contrast checker → · Palette generator →

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