#4D2267#4D2267

#4D2267 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.8% C 0.120 H 310.3°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#4D2267
RGBrgb(77, 34, 103)
HSLhsl(277, 50%, 27%)
HSVhsv(277, 67%, 40%)
CMYKcmyk(25.2%, 67%, 0%, 59.6%)
CIE-LABlab(22.66, 33.34, -32.39)
CIE-LCHlch(22.66, 46.48, 315.83°)
OKLaboklab(34.77% 0.0775 -0.0913)
OKLCHoklch(34.77% 0.12 310.3)
XYZxyz(6.0803, 3.7012, 13.2234)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2267 #3C6722
analogous
#2B2267 #4D2267 #67225F
triadic
#4D2267 #674D22 #22674D
tetradic
#4D2267 #672B22 #3C6722 #225F67
square
#4D2267 #672B22 #3C6722 #225F67
split-complementary
#4D2267 #5F6722 #22672B
monochromatic
#110817 #2B1339 #4D2267 #6F3195 #9143C1

Accessibility & contrast

On white

12.07
#4D2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4D2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2267
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2267#FFFFFF#000000##FFFFFF
##4D22671.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013469
Deuteranopia (green-blind)
#1A3765
Tritanopia (blue-blind)
#4A3041
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4d2267;
/* rgb */ color: rgb(77, 34, 103);
/* oklch */ color: oklch(34.8% 0.120 310.3);
Tailwind
colors: {
  custom: {
    50: '#816093',
    500: '#4d2267',
    950: '#000000',
  },
}
SCSS
$custom: #4d2267;
$custom-light: #816093;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2267",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 277.391,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34768,
    "c": 0.11978,
    "h": 310.3
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#4D2267
secondary
#689B4A
accent
#DA4E83
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4D2267

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

Preview Lab → · Contrast checker → · Palette generator →

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