#4D267C#4D267C

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

Color values

HEX#4D267C
RGBrgb(77, 38, 124)
HSLhsl(267, 53%, 32%)
HSVhsv(267, 69%, 49%)
CMYKcmyk(37.9%, 69.4%, 0%, 51.4%)
CIE-LABlab(25.01, 36.64, -42.08)
CIE-LCHlch(25.01, 55.80, 311.05°)
OKLaboklab(36.96% 0.0706 -0.1198)
OKLCHoklch(36.96% 0.139 300.5)
XYZxyz(7.3909, 4.4192, 19.5285)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D267C #557C26
analogous
#262A7C #4D267C #78267C
triadic
#4D267C #7C4D26 #267C4D
tetradic
#4D267C #7C262A #557C26 #267C78
square
#4D267C #7C262A #557C26 #267C78
split-complementary
#4D267C #7C7826 #2A7C26
monochromatic
#13091E #30184D #4D267C #6A34AB #8952CA

Accessibility & contrast

On white

11.15
#4D267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4D267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D267C
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D267C#FFFFFF#000000##FFFFFF
##4D267C1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#433A4D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d267c;
/* rgb */ color: rgb(77, 38, 124);
/* oklch */ color: oklch(37.0% 0.139 300.5);
Tailwind
colors: {
  custom: {
    50: '#8363a3',
    500: '#4d267c',
    950: '#000000',
  },
}
SCSS
$custom: #4d267c;
$custom-light: #8363a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d267c",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 267.209,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36959,
    "c": 0.13905,
    "h": 300.5
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#4D267C
secondary
#83AE50
accent
#DC4B9B
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4D267C

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

Preview Lab → · Contrast checker → · Palette generator →

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