#4D269E#4D269E

#4D269E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.179 H 290.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4D269E
RGBrgb(77, 38, 158)
HSLhsl(260, 61%, 38%)
HSVhsv(260, 76%, 62%)
CMYKcmyk(51.3%, 75.9%, 0%, 38%)
CIE-LABlab(27.93, 46.08, -58.42)
CIE-LCHlch(27.93, 74.40, 308.26°)
OKLaboklab(39.94% 0.0636 -0.1678)
OKLCHoklch(39.94% 0.179 290.7)
XYZxyz(9.9235, 5.4322, 32.8668)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D269E #779E26
analogous
#263B9E #4D269E #89269E
triadic
#4D269E #9E4D26 #269E4D
tetradic
#4D269E #9E263B #779E26 #269E89
square
#4D269E #9E263B #779E26 #269E89
split-complementary
#4D269E #9E8926 #3B9E26
monochromatic
#1D0E3B #351A6D #4D269E #6633CE #8B65DA

Accessibility & contrast

On white

10.06
#4D269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4D269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D269E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D269E#FFFFFF#000000##FFFFFF
##4D269E1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#314760
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d269e;
/* rgb */ color: rgb(77, 38, 158);
/* oklch */ color: oklch(39.9% 0.179 290.7);
Tailwind
colors: {
  custom: {
    50: '#8765bc',
    500: '#4d269e',
    950: '#000000',
  },
}
SCSS
$custom: #4d269e;
$custom-light: #8765bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d269e",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 259.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.17942,
    "h": 290.7
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#4D269E
secondary
#A1C060
accent
#E443B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D269E

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

Preview Lab → · Contrast checker → · Palette generator →

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