#4D269D#4D269D

#4D269D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.178 H 291.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4D269D
RGBrgb(77, 38, 157)
HSLhsl(260, 61%, 38%)
HSVhsv(260, 76%, 62%)
CMYKcmyk(51%, 75.8%, 0%, 38.4%)
CIE-LABlab(27.84, 45.80, -57.96)
CIE-LCHlch(27.84, 73.87, 308.31°)
OKLaboklab(39.85% 0.0638 -0.1664)
OKLCHoklch(39.85% 0.178 291)
XYZxyz(9.8377, 5.3979, 32.4153)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D269D #769D26
analogous
#263A9D #4D269D #88269D
triadic
#4D269D #9D4D26 #269D4D
tetradic
#4D269D #9D263A #769D26 #269D88
square
#4D269D #9D263A #769D26 #269D88
split-complementary
#4D269D #9D8826 #3A9D26
monochromatic
#1D0E3A #351A6C #4D269D #6533CE #8A64D9

Accessibility & contrast

On white

10.10
#4D269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4D269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D269D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D269D#FFFFFF#000000##FFFFFF
##4D269D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#324660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d269d;
/* rgb */ color: rgb(77, 38, 157);
/* oklch */ color: oklch(39.8% 0.178 291.0);
Tailwind
colors: {
  custom: {
    50: '#8765bb',
    500: '#4d269d',
    950: '#000000',
  },
}
SCSS
$custom: #4d269d;
$custom-light: #8765bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d269d",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 259.664,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.17826,
    "h": 291
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#4D269D
secondary
#A0BF60
accent
#E444B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D269D

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

Preview Lab → · Contrast checker → · Palette generator →

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