#4D36AF#4D36AF

#4D36AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.182 H 284.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4D36AF
RGBrgb(77, 54, 175)
HSLhsl(251, 53%, 45%)
HSVhsv(251, 69%, 69%)
CMYKcmyk(56%, 69.1%, 0%, 31.4%)
CIE-LABlab(32.50, 42.56, -61.17)
CIE-LCHlch(32.50, 74.52, 304.83°)
OKLaboklab(43.65% 0.0461 -0.1759)
OKLCHoklch(43.65% 0.182 284.7)
XYZxyz(12.1152, 7.3106, 41.3218)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36AF #98AF36
analogous
#365CAF #4D36AF #8A36AF
triadic
#4D36AF #AF4D36 #36AF4D
tetradic
#4D36AF #AF365C #98AF36 #36AF8A
square
#4D36AF #AF365C #98AF36 #36AF8A
split-complementary
#4D36AF #AF8A36 #5CAF36
monochromatic
#241951 #382880 #4D36AF #6D57CB #9686DA

Accessibility & contrast

On white

8.53
#4D36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4D36AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36AF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36AF#FFFFFF#000000##FFFFFF
##4D36AF1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#1F556E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d36af;
/* rgb */ color: rgb(77, 54, 175);
/* oklch */ color: oklch(43.7% 0.182 284.7);
Tailwind
colors: {
  custom: {
    50: '#896fc8',
    500: '#4d36af',
    950: '#000000',
  },
}
SCSS
$custom: #4d36af;
$custom-light: #896fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36af",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 251.405,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43653,
    "c": 0.18189,
    "h": 284.7
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#4D36AF
secondary
#B6C37D
accent
#DC4CC1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4D36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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