#4D39AF#4D39AF

#4D39AF is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.178 H 284.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4D39AF
RGBrgb(77, 57, 175)
HSLhsl(250, 51%, 45%)
HSVhsv(250, 67%, 69%)
CMYKcmyk(56%, 67.4%, 0%, 31.4%)
CIE-LABlab(33.13, 40.85, -60.15)
CIE-LCHlch(33.13, 72.71, 304.18°)
OKLaboklab(44.11% 0.0435 -0.1729)
OKLCHoklch(44.11% 0.178 284.1)
XYZxyz(12.2592, 7.5985, 41.3698)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39AF #9BAF39
analogous
#3960AF #4D39AF #8839AF
triadic
#4D39AF #AF4D39 #39AF4D
tetradic
#4D39AF #AF3960 #9BAF39 #39AF88
square
#4D39AF #AF3960 #9BAF39 #39AF88
split-complementary
#4D39AF #AF8839 #60AF39
monochromatic
#241B53 #392A81 #4D39AF #6E5BCA #978AD9

Accessibility & contrast

On white

8.33
#4D39AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4D39AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39AF
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39AF#FFFFFF#000000##FFFFFF
##4D39AF1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#1F576F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d39af;
/* rgb */ color: rgb(77, 57, 175);
/* oklch */ color: oklch(44.1% 0.178 284.1);
Tailwind
colors: {
  custom: {
    50: '#8971c8',
    500: '#4d39af',
    950: '#000000',
  },
}
SCSS
$custom: #4d39af;
$custom-light: #8971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39af",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 250.169,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44105,
    "c": 0.17831,
    "h": 284.1
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#4D39AF
secondary
#B8C381
accent
#DA4DC2
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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