#4D3BA2#4D3BA2

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

Color values

HEX#4D3BA2
RGBrgb(77, 59, 162)
HSLhsl(250, 47%, 43%)
HSVhsv(250, 64%, 64%)
CMYKcmyk(52.5%, 63.6%, 0%, 36.5%)
CIE-LABlab(32.51, 35.62, -53.36)
CIE-LCHlch(32.51, 64.16, 303.73°)
OKLaboklab(43.32% 0.043 -0.153)
OKLCHoklch(43.32% 0.159 285.7)
XYZxyz(11.1442, 7.3138, 34.9999)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3BA2 #90A23B
analogous
#3B5DA2 #4D3BA2 #803BA2
triadic
#4D3BA2 #A24D3B #3BA24D
tetradic
#4D3BA2 #A23B5D #90A23B #3BA280
square
#4D3BA2 #A23B5D #90A23B #3BA280
split-complementary
#4D3BA2 #A2803B #5DA23B
monochromatic
#221A48 #382B75 #4D3BA2 #6B58C2 #9285D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D3BA2#FFFFFF#000000##FFFFFF
##4D3BA21.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)
#004FA5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#2C5469
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d3ba2;
/* rgb */ color: rgb(77, 59, 162);
/* oklch */ color: oklch(43.3% 0.159 285.7);
Tailwind
colors: {
  custom: {
    50: '#8672be',
    500: '#4d3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ba2;
$custom-light: #8672be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ba2",
  "rgb": {
    "r": 77,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 250.485,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.15892,
    "h": 285.7
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#4D3BA2
secondary
#B1BD7C
accent
#D652BF
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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