#4D33AF#4D33AF

#4D33AF is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.185 H 285.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4D33AF
RGBrgb(77, 51, 175)
HSLhsl(253, 55%, 44%)
HSVhsv(253, 71%, 69%)
CMYKcmyk(56%, 70.9%, 0%, 31.4%)
CIE-LABlab(31.90, 44.24, -62.17)
CIE-LCHlch(31.90, 76.30, 305.44°)
OKLaboklab(43.22% 0.0487 -0.1788)
OKLCHoklch(43.22% 0.185 285.2)
XYZxyz(11.9799, 7.0399, 41.2767)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33AF #95AF33
analogous
#3357AF #4D33AF #8B33AF
triadic
#4D33AF #AF4D33 #33AF4D
tetradic
#4D33AF #AF3357 #95AF33 #33AF8B
square
#4D33AF #AF3357 #95AF33 #33AF8B
split-complementary
#4D33AF #AF8B33 #57AF33
monochromatic
#231750 #382580 #4D33AF #6C52CD #9482DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D33AF#FFFFFF#000000##FFFFFF
##4D33AF1.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)
#004EB3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#1F546D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d33af;
/* rgb */ color: rgb(77, 51, 175);
/* oklch */ color: oklch(43.2% 0.185 285.2);
Tailwind
colors: {
  custom: {
    50: '#896dc8',
    500: '#4d33af',
    950: '#000000',
  },
}
SCSS
$custom: #4d33af;
$custom-light: #896dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33af",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 252.581,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4322,
    "c": 0.18536,
    "h": 285.2
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#4D33AF
secondary
#B4C47A
accent
#DE4ABF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4D33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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