#4D368F#4D368F

#4D368F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.0% C 0.141 H 290.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#4D368F
RGBrgb(77, 54, 143)
HSLhsl(256, 45%, 39%)
HSVhsv(256, 62%, 56%)
CMYKcmyk(46.2%, 62.2%, 0%, 43.9%)
CIE-LABlab(29.91, 32.82, -46.01)
CIE-LCHlch(29.91, 56.51, 305.50°)
OKLaboklab(40.97% 0.0498 -0.1314)
OKLCHoklch(40.97% 0.141 290.8)
XYZxyz(9.3363, 6.1990, 26.6859)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D368F #788F36
analogous
#364B8F #4D368F #79368F
triadic
#4D368F #8F4D36 #368F4D
tetradic
#4D368F #8F364B #788F36 #368F79
square
#4D368F #8F364B #788F36 #368F79
split-complementary
#4D368F #8F7936 #4B8F36
monochromatic
#1D1436 #352563 #4D368F #6648BA #8B75CB

Accessibility & contrast

On white

9.38
#4D368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4D368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D368F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D368F#FFFFFF#000000##FFFFFF
##4D368F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#394A5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d368f;
/* rgb */ color: rgb(77, 54, 143);
/* oklch */ color: oklch(41.0% 0.141 290.8);
Tailwind
colors: {
  custom: {
    50: '#846eb0',
    500: '#4d368f',
    950: '#000000',
  },
}
SCSS
$custom: #4d368f;
$custom-light: #846eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d368f",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 255.506,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40966,
    "c": 0.14051,
    "h": 290.8
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#4D368F
secondary
#A1B36D
accent
#D553B3
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4D368F

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

Preview Lab → · Contrast checker → · Palette generator →

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