#4D23BC#4D23BC

#4D23BC is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.6% C 0.216 H 285.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4D23BC
RGBrgb(77, 35, 188)
HSLhsl(256, 69%, 44%)
HSVhsv(256, 81%, 74%)
CMYKcmyk(59%, 81.4%, 0%, 26.3%)
CIE-LABlab(30.42, 55.76, -72.31)
CIE-LCHlch(30.42, 91.31, 307.63°)
OKLaboklab(42.56% 0.0565 -0.2084)
OKLCHoklch(42.56% 0.216 285.2)
XYZxyz(12.7359, 6.4099, 48.1333)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D23BC #92BC23
analogous
#2345BC #4D23BC #9923BC
triadic
#4D23BC #BC4D23 #23BC4D
tetradic
#4D23BC #BC2345 #92BC23 #23BC99
square
#4D23BC #BC2345 #92BC23 #23BC99
split-complementary
#4D23BC #BC9923 #45BC23
monochromatic
#231055 #381988 #4D23BC #6B41DC #9374E5

Accessibility & contrast

On white

9.20
#4D23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4D23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D23BC
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D23BC#FFFFFF#000000##FFFFFF
##4D23BC1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0043B9
Tritanopia (blue-blind)
#075271
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d23bc;
/* rgb */ color: rgb(77, 35, 188);
/* oklch */ color: oklch(42.6% 0.216 285.2);
Tailwind
colors: {
  custom: {
    50: '#8c65d2',
    500: '#4d23bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d23bc;
$custom-light: #8c65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d23bc",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 256.471,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42564,
    "c": 0.2159,
    "h": 285.2
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#4D23BC
secondary
#B3CC6F
accent
#EB3CBB
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4D23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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