#4D23B3#4D23B3

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

Color values

HEX#4D23B3
RGBrgb(77, 35, 179)
HSLhsl(258, 67%, 42%)
HSVhsv(258, 80%, 70%)
CMYKcmyk(57%, 80.4%, 0%, 29.8%)
CIE-LABlab(29.50, 53.29, -68.50)
CIE-LCHlch(29.50, 86.79, 307.88°)
OKLaboklab(41.65% 0.0595 -0.1972)
OKLCHoklch(41.65% 0.206 286.8)
XYZxyz(11.7958, 6.0339, 43.1822)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D23B3 #89B323
analogous
#2341B3 #4D23B3 #9523B3
triadic
#4D23B3 #B34D23 #23B34D
tetradic
#4D23B3 #B32341 #89B323 #23B395
square
#4D23B3 #B32341 #89B323 #23B395
split-complementary
#4D23B3 #B39523 #41B323
monochromatic
#210F4D #371980 #4D23B3 #693BD9 #906EE3

Accessibility & contrast

On white

9.52
#4D23B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4D23B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D23B3
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D23B3#FFFFFF#000000##FFFFFF
##4D23B31.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d23b3;
/* rgb */ color: rgb(77, 35, 179);
/* oklch */ color: oklch(41.6% 0.206 286.8);
Tailwind
colors: {
  custom: {
    50: '#8b64cb',
    500: '#4d23b3',
    950: '#000000',
  },
}
SCSS
$custom: #4d23b3;
$custom-light: #8b64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d23b3",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 257.5,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41648,
    "c": 0.206,
    "h": 286.8
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#4D23B3
secondary
#ADC969
accent
#EA3EB8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D23B3

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

Preview Lab → · Contrast checker → · Palette generator →

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