#4D2B85#4D2B85

#4D2B85 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.143 H 296.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4D2B85
RGBrgb(77, 43, 133)
HSLhsl(263, 51%, 35%)
HSVhsv(263, 68%, 52%)
CMYKcmyk(42.1%, 67.7%, 0%, 47.8%)
CIE-LABlab(26.73, 36.36, -44.95)
CIE-LCHlch(26.73, 57.82, 308.97°)
OKLaboklab(38.42% 0.0636 -0.1283)
OKLCHoklch(38.42% 0.143 296.4)
XYZxyz(8.1570, 4.9988, 22.7209)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B85 #63852B
analogous
#2B3685 #4D2B85 #7A2B85
triadic
#4D2B85 #854D2B #2B854D
tetradic
#4D2B85 #852B36 #63852B #2B857A
square
#4D2B85 #852B36 #63852B #2B857A
split-complementary
#4D2B85 #857A2B #36852B
monochromatic
#170D29 #321C57 #4D2B85 #683AB3 #885FCB

Accessibility & contrast

On white

10.50
#4D2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4D2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B85
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B85#FFFFFF#000000##FFFFFF
##4D2B851.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#3F4054
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2b85;
/* rgb */ color: rgb(77, 43, 133);
/* oklch */ color: oklch(38.4% 0.143 296.4);
Tailwind
colors: {
  custom: {
    50: '#8467a9',
    500: '#4d2b85',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b85;
$custom-light: #8467a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b85",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 262.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38418,
    "c": 0.14317,
    "h": 296.4
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#4D2B85
secondary
#90B15B
accent
#DB4DA5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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