#4D2A67#4D2A67

#4D2A67 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.106 H 308.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4D2A67
RGBrgb(77, 42, 103)
HSLhsl(274, 42%, 28%)
HSVhsv(274, 59%, 40%)
CMYKcmyk(25.2%, 59.2%, 0%, 59.6%)
CIE-LABlab(24.36, 28.76, -29.66)
CIE-LCHlch(24.36, 41.31, 314.11°)
OKLaboklab(36.01% 0.0662 -0.0834)
OKLCHoklch(36.01% 0.106 308.5)
XYZxyz(6.3362, 4.2131, 13.3087)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2A67 #44672A
analogous
#2E2A67 #4D2A67 #672A62
triadic
#4D2A67 #674D2A #2A674D
tetradic
#4D2A67 #672E2A #44672A #2A6267
square
#4D2A67 #672E2A #44672A #2A6267
split-complementary
#4D2A67 #62672A #2A672E
monochromatic
#100916 #2C183C #4D2A67 #6D3C92 #8D53B9

Accessibility & contrast

On white

11.40
#4D2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4D2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2A67
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2A67#FFFFFF#000000##FFFFFF
##4D2A671.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163869
Deuteranopia (green-blind)
#223A66
Tritanopia (blue-blind)
#493544
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d2a67;
/* rgb */ color: rgb(77, 42, 103);
/* oklch */ color: oklch(36.0% 0.106 308.5);
Tailwind
colors: {
  custom: {
    50: '#816593',
    500: '#4d2a67',
    950: '#000000',
  },
}
SCSS
$custom: #4d2a67;
$custom-light: #816593;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2a67",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 274.426,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36011,
    "c": 0.10648,
    "h": 308.5
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#4D2A67
secondary
#719954
accent
#D2568B
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4D2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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