#4D23AF#4D23AF

#4D23AF is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.2% C 0.202 H 287.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4D23AF
RGBrgb(77, 35, 175)
HSLhsl(258, 67%, 41%)
HSVhsv(258, 80%, 69%)
CMYKcmyk(56%, 80%, 0%, 31.4%)
CIE-LABlab(29.09, 52.19, -66.77)
CIE-LCHlch(29.09, 84.75, 308.01°)
OKLaboklab(41.25% 0.0608 -0.1922)
OKLCHoklch(41.25% 0.202 287.5)
XYZxyz(11.3972, 5.8744, 41.0824)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D23AF #85AF23
analogous
#233FAF #4D23AF #9323AF
triadic
#4D23AF #AF4D23 #23AF4D
tetradic
#4D23AF #AF233F #85AF23 #23AF93
square
#4D23AF #AF233F #85AF23 #23AF93
split-complementary
#4D23AF #AF9323 #3FAF23
monochromatic
#200F49 #37197C #4D23AF #6838D7 #8F6BE1

Accessibility & contrast

On white

9.66
#4D23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4D23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D23AF
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D23AF#FFFFFF#000000##FFFFFF
##4D23AF1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#214C69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d23af;
/* rgb */ color: rgb(77, 35, 175);
/* oklch */ color: oklch(41.2% 0.202 287.5);
Tailwind
colors: {
  custom: {
    50: '#8a64c8',
    500: '#4d23af',
    950: '#000000',
  },
}
SCSS
$custom: #4d23af;
$custom-light: #8a64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d23af",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 258,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41247,
    "c": 0.20158,
    "h": 287.5
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#4D23AF
secondary
#AAC766
accent
#EA3EB6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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