#4D267D#4D267D

#4D267D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.140 H 300.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4D267D
RGBrgb(77, 38, 125)
HSLhsl(267, 53%, 32%)
HSVhsv(267, 70%, 49%)
CMYKcmyk(38.4%, 69.6%, 0%, 51%)
CIE-LABlab(25.09, 36.91, -42.58)
CIE-LCHlch(25.09, 56.36, 310.92°)
OKLaboklab(37.04% 0.0704 -0.1213)
OKLCHoklch(37.04% 0.14 300.1)
XYZxyz(7.4544, 4.4446, 19.8632)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D267D #567D26
analogous
#262A7D #4D267D #79267D
triadic
#4D267D #7D4D26 #267D4D
tetradic
#4D267D #7D262A #567D26 #267D79
square
#4D267D #7D262A #567D26 #267D79
split-complementary
#4D267D #7D7926 #2A7D26
monochromatic
#13091F #30184E #4D267D #6A34AC #8953CB

Accessibility & contrast

On white

11.12
#4D267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4D267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D267D
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D267D#FFFFFF#000000##FFFFFF
##4D267D1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#423A4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d267d;
/* rgb */ color: rgb(77, 38, 125);
/* oklch */ color: oklch(37.0% 0.140 300.1);
Tailwind
colors: {
  custom: {
    50: '#8363a3',
    500: '#4d267d',
    950: '#000000',
  },
}
SCSS
$custom: #4d267d;
$custom-light: #8363a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d267d",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 266.897,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3704,
    "c": 0.14026,
    "h": 300.1
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#4D267D
secondary
#84AF50
accent
#DD4B9B
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4D267D

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

Preview Lab → · Contrast checker → · Palette generator →

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