#4D267E#4D267E

#4D267E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.141 H 299.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#4D267E
RGBrgb(77, 38, 126)
HSLhsl(267, 54%, 32%)
HSVhsv(267, 70%, 49%)
CMYKcmyk(38.9%, 69.8%, 0%, 50.6%)
CIE-LABlab(25.17, 37.18, -43.09)
CIE-LCHlch(25.17, 56.91, 310.79°)
OKLaboklab(37.12% 0.0703 -0.1228)
OKLCHoklch(37.12% 0.141 299.8)
XYZxyz(7.5186, 4.4703, 20.2014)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D267E #577E26
analogous
#262B7E #4D267E #79267E
triadic
#4D267E #7E4D26 #267E4D
tetradic
#4D267E #7E262B #577E26 #267E79
square
#4D267E #7E262B #577E26 #267E79
split-complementary
#4D267E #7E7926 #2B7E26
monochromatic
#140A20 #30184F #4D267E #6A34AD #8853CB

Accessibility & contrast

On white

11.09
#4D267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D267E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D267E#FFFFFF#000000##FFFFFF
##4D267E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#423A4E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d267e;
/* rgb */ color: rgb(77, 38, 126);
/* oklch */ color: oklch(37.1% 0.141 299.8);
Tailwind
colors: {
  custom: {
    50: '#8363a4',
    500: '#4d267e',
    950: '#000000',
  },
}
SCSS
$custom: #4d267e;
$custom-light: #8363a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d267e",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 266.591,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37121,
    "c": 0.14147,
    "h": 299.8
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#4D267E
secondary
#85B050
accent
#DD4B9C
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4D267E

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

Preview Lab → · Contrast checker → · Palette generator →

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