#4D2985#4D2985

#4D2985 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.146 H 296.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#4D2985
RGBrgb(77, 41, 133)
HSLhsl(263, 53%, 34%)
HSVhsv(263, 69%, 52%)
CMYKcmyk(42.1%, 69.2%, 0%, 47.8%)
CIE-LABlab(26.32, 37.48, -45.61)
CIE-LCHlch(26.32, 59.04, 309.41°)
OKLaboklab(38.13% 0.0659 -0.1302)
OKLCHoklch(38.13% 0.146 296.8)
XYZxyz(8.0860, 4.8570, 22.6972)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2985 #618529
analogous
#293385 #4D2985 #7B2985
triadic
#4D2985 #854D29 #29854D
tetradic
#4D2985 #852933 #618529 #29857B
square
#4D2985 #852933 #618529 #29857B
split-complementary
#4D2985 #857B29 #338529
monochromatic
#170C27 #321B56 #4D2985 #6837B4 #885CCD

Accessibility & contrast

On white

10.65
#4D2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4D2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2985
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2985#FFFFFF#000000##FFFFFF
##4D29851.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#3F3F53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2985;
/* rgb */ color: rgb(77, 41, 133);
/* oklch */ color: oklch(38.1% 0.146 296.8);
Tailwind
colors: {
  custom: {
    50: '#8465a9',
    500: '#4d2985',
    950: '#000000',
  },
}
SCSS
$custom: #4d2985;
$custom-light: #8465a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2985",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 263.478,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38125,
    "c": 0.14593,
    "h": 296.8
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#4D2985
secondary
#8FB258
accent
#DC4CA4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2985

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

Preview Lab → · Contrast checker → · Palette generator →

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