#4D269C#4D269C

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

Color values

HEX#4D269C
RGBrgb(77, 38, 156)
HSLhsl(260, 61%, 38%)
HSVhsv(260, 76%, 61%)
CMYKcmyk(50.6%, 75.6%, 0%, 38.8%)
CIE-LABlab(27.75, 45.51, -57.50)
CIE-LCHlch(27.75, 73.33, 308.36°)
OKLaboklab(39.75% 0.0641 -0.1651)
OKLCHoklch(39.75% 0.177 291.2)
XYZxyz(9.7527, 5.3639, 31.9675)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D269C #759C26
analogous
#263A9C #4D269C #88269C
triadic
#4D269C #9C4D26 #269C4D
tetradic
#4D269C #9C263A #759C26 #269C88
square
#4D269C #9C263A #759C26 #269C88
split-complementary
#4D269C #9C8826 #3A9C26
monochromatic
#1C0E3A #351A6B #4D269C #6532CD #8A63D9

Accessibility & contrast

On white

10.13
#4D269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4D269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D269C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D269C#FFFFFF#000000##FFFFFF
##4D269C1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#32465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d269c;
/* rgb */ color: rgb(77, 38, 156);
/* oklch */ color: oklch(39.8% 0.177 291.2);
Tailwind
colors: {
  custom: {
    50: '#8765ba',
    500: '#4d269c',
    950: '#000000',
  },
}
SCSS
$custom: #4d269c;
$custom-light: #8765ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d269c",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 259.831,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39752,
    "c": 0.1771,
    "h": 291.2
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#4D269C
secondary
#9FBF5F
accent
#E444AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D269C

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

Preview Lab → · Contrast checker → · Palette generator →

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