#4D23CA#4D23CA

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

Color values

HEX#4D23CA
RGBrgb(77, 35, 202)
HSLhsl(255, 70%, 46%)
HSVhsv(255, 83%, 79%)
CMYKcmyk(61.9%, 82.7%, 0%, 20.8%)
CIE-LABlab(31.90, 59.56, -78.09)
CIE-LCHlch(31.90, 98.22, 307.33°)
OKLaboklab(44.02% 0.0517 -0.2252)
OKLCHoklch(44.02% 0.231 282.9)
XYZxyz(14.3190, 7.0431, 56.4706)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D23CA #A0CA23
analogous
#234DCA #4D23CA #A123CA
triadic
#4D23CA #CA4D23 #23CA4D
tetradic
#4D23CA #CA234D #A0CA23 #23CAA1
square
#4D23CA #CA234D #A0CA23 #23CAA1
split-complementary
#4D23CA #CAA123 #4DCA23
monochromatic
#251162 #391A96 #4D23CA #704AE0 #997FE9

Accessibility & contrast

On white

8.72
#4D23CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4D23CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D23CA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D23CA#FFFFFF#000000##FFFFFF
##4D23CA1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.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: #4d23ca;
/* rgb */ color: rgb(77, 35, 202);
/* oklch */ color: oklch(44.0% 0.231 282.9);
Tailwind
colors: {
  custom: {
    50: '#8f66dc',
    500: '#4d23ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d23ca;
$custom-light: #8f66dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d23ca",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 255.09,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44021,
    "c": 0.23109,
    "h": 282.9
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D23CA

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

Preview Lab → · Contrast checker → · Palette generator →

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