#4D3288#4D3288

#4D3288 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.137 H 293.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4D3288
RGBrgb(77, 50, 136)
HSLhsl(259, 46%, 36%)
HSVhsv(259, 63%, 53%)
CMYKcmyk(43.4%, 63.2%, 0%, 46.7%)
CIE-LABlab(28.48, 33.14, -44.00)
CIE-LCHlch(28.48, 55.08, 306.99°)
OKLaboklab(39.76% 0.055 -0.1255)
OKLCHoklch(39.76% 0.137 293.7)
XYZxyz(8.6439, 5.6363, 23.9203)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3288 #6D8832
analogous
#324288 #4D3288 #783288
triadic
#4D3288 #884D32 #32884D
tetradic
#4D3288 #883242 #6D8832 #328878
square
#4D3288 #883242 #6D8832 #328878
split-complementary
#4D3288 #887832 #428832
monochromatic
#1A112F #34225B #4D3288 #6642B5 #896CC9

Accessibility & contrast

On white

9.87
#4D3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4D3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3288
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3288#FFFFFF#000000##FFFFFF
##4D32881.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#3D4558
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d3288;
/* rgb */ color: rgb(77, 50, 136);
/* oklch */ color: oklch(39.8% 0.137 293.7);
Tailwind
colors: {
  custom: {
    50: '#836bab',
    500: '#4d3288',
    950: '#000000',
  },
}
SCSS
$custom: #4d3288;
$custom-light: #836bab;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3288",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 258.837,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39755,
    "c": 0.13701,
    "h": 293.7
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#4D3288
secondary
#99B065
accent
#D652AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D3288

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

Preview Lab → · Contrast checker → · Palette generator →

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