#4C23B3#4C23B3

#4C23B3 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.6% C 0.206 H 286.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4C23B3
RGBrgb(76, 35, 179)
HSLhsl(257, 67%, 42%)
HSVhsv(257, 80%, 70%)
CMYKcmyk(57.5%, 80.4%, 0%, 29.8%)
CIE-LABlab(29.39, 53.17, -68.67)
CIE-LCHlch(29.39, 86.85, 307.75°)
OKLaboklab(41.55% 0.0579 -0.1978)
OKLCHoklch(41.55% 0.206 286.3)
XYZxyz(11.7158, 5.9926, 43.1784)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C23B3 #8AB323
analogous
#2342B3 #4C23B3 #9423B3
triadic
#4C23B3 #B34C23 #23B34C
tetradic
#4C23B3 #B32342 #8AB323 #23B394
square
#4C23B3 #B32342 #8AB323 #23B394
split-complementary
#4C23B3 #B39423 #42B323
monochromatic
#210F4D #361980 #4C23B3 #683BD9 #8F6EE3

Accessibility & contrast

On white

9.55
#4C23B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4C23B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C23B3
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C23B3#FFFFFF#000000##FFFFFF
##4C23B31.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#184E6C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c23b3;
/* rgb */ color: rgb(76, 35, 179);
/* oklch */ color: oklch(41.6% 0.206 286.3);
Tailwind
colors: {
  custom: {
    50: '#8a64cb',
    500: '#4c23b3',
    950: '#000000',
  },
}
SCSS
$custom: #4c23b3;
$custom-light: #8a64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c23b3",
  "rgb": {
    "r": 76,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 257.083,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.20608,
    "h": 286.3
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#4C23B3
secondary
#AEC969
accent
#EA3EB9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C23B3

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

Preview Lab → · Contrast checker → · Palette generator →

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