#4D267F#4D267F

#4D267F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.143 H 299.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#4D267F
RGBrgb(77, 38, 127)
HSLhsl(266, 54%, 32%)
HSVhsv(266, 70%, 50%)
CMYKcmyk(39.4%, 70.1%, 0%, 50.2%)
CIE-LABlab(25.25, 37.46, -43.59)
CIE-LCHlch(25.25, 57.47, 310.67°)
OKLaboklab(37.2% 0.0702 -0.1242)
OKLCHoklch(37.2% 0.143 299.5)
XYZxyz(7.5835, 4.4962, 20.5429)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D267F #587F26
analogous
#262C7F #4D267F #79267F
triadic
#4D267F #7F4D26 #267F4D
tetradic
#4D267F #7F262C #587F26 #267F79
square
#4D267F #7F262C #587F26 #267F79
split-complementary
#4D267F #7F7926 #2C7F26
monochromatic
#140A21 #301850 #4D267F #6A34AE #8854CC

Accessibility & contrast

On white

11.06
#4D267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4D267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D267F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D267F#FFFFFF#000000##FFFFFF
##4D267F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#423B4F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d267f;
/* rgb */ color: rgb(77, 38, 127);
/* oklch */ color: oklch(37.2% 0.143 299.5);
Tailwind
colors: {
  custom: {
    50: '#8363a5',
    500: '#4d267f',
    950: '#000000',
  },
}
SCSS
$custom: #4d267f;
$custom-light: #8363a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d267f",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 266.292,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37203,
    "c": 0.14269,
    "h": 299.5
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#4D267F
secondary
#86B051
accent
#DD4A9D
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4D267F

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

Preview Lab → · Contrast checker → · Palette generator →

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