#4D2CB3#4D2CB3

#4D2CB3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.198 H 285.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4D2CB3
RGBrgb(77, 44, 179)
HSLhsl(255, 61%, 44%)
HSVhsv(255, 75%, 70%)
CMYKcmyk(57%, 75.4%, 0%, 29.8%)
CIE-LABlab(30.96, 49.10, -66.10)
CIE-LCHlch(30.96, 82.34, 306.61°)
OKLaboklab(42.67% 0.0534 -0.1903)
OKLCHoklch(42.67% 0.198 285.7)
XYZxyz(12.0955, 6.6331, 43.2820)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CB3 #92B32C
analogous
#2C4EB3 #4D2CB3 #902CB3
triadic
#4D2CB3 #B34D2C #2CB34D
tetradic
#4D2CB3 #B32C4E #92B32C #2CB390
square
#4D2CB3 #B32C4E #92B32C #2CB390
split-complementary
#4D2CB3 #B3902C #4EB32C
monochromatic
#231451 #382082 #4D2CB3 #6B4AD2 #937BDF

Accessibility & contrast

On white

9.03
#4D2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4D2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CB3
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CB3#FFFFFF#000000##FFFFFF
##4D2CB31.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#1B526E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d2cb3;
/* rgb */ color: rgb(77, 44, 179);
/* oklch */ color: oklch(42.7% 0.198 285.7);
Tailwind
colors: {
  custom: {
    50: '#8a69cb',
    500: '#4d2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #4d2cb3;
$custom-light: #8a69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2cb3",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 254.667,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.19765,
    "h": 285.7
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#4D2CB3
secondary
#B3C774
accent
#E444BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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