#4D266E#4D266E

#4D266E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.122 H 306.1°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4D266E
RGBrgb(77, 38, 110)
HSLhsl(273, 49%, 29%)
HSVhsv(273, 65%, 43%)
CMYKcmyk(30%, 65.5%, 0%, 56.9%)
CIE-LABlab(23.97, 32.91, -34.83)
CIE-LCHlch(23.97, 47.91, 313.38°)
OKLaboklab(35.87% 0.0719 -0.0985)
OKLCHoklch(35.87% 0.122 306.1)
XYZxyz(6.5676, 4.0899, 15.1923)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D266E #476E26
analogous
#29266E #4D266E #6E266B
triadic
#4D266E #6E4D26 #266E4D
tetradic
#4D266E #6E2926 #476E26 #266B6E
square
#4D266E #6E2926 #476E26 #266B6E
split-complementary
#4D266E #6B6E26 #266E29
monochromatic
#100817 #2D1641 #4D266E #6D369B #8C4DC1

Accessibility & contrast

On white

11.55
#4D266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4D266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D266E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D266E#FFFFFF#000000##FFFFFF
##4D266E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#17396C
Tritanopia (blue-blind)
#473546
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d266e;
/* rgb */ color: rgb(77, 38, 110);
/* oklch */ color: oklch(35.9% 0.122 306.1);
Tailwind
colors: {
  custom: {
    50: '#826398',
    500: '#4d266e',
    950: '#000000',
  },
}
SCSS
$custom: #4d266e;
$custom-light: #826398;
$custom-dark: #000000;
JSON
{
  "hex": "#4d266e",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 272.5,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35873,
    "c": 0.12191,
    "h": 306.1
  },
  "luminance": 0.0409
}

Semantic roles & 50–950 ramp

primary
#4D266E
secondary
#74A14F
accent
#D8508E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4D266E

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

Preview Lab → · Contrast checker → · Palette generator →

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