#4D269F#4D269F

#4D269F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.181 H 290.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4D269F
RGBrgb(77, 38, 159)
HSLhsl(259, 61%, 39%)
HSVhsv(259, 76%, 62%)
CMYKcmyk(51.6%, 76.1%, 0%, 37.6%)
CIE-LABlab(28.03, 46.36, -58.87)
CIE-LCHlch(28.03, 74.93, 308.22°)
OKLaboklab(40.03% 0.0633 -0.1691)
OKLCHoklch(40.03% 0.181 290.5)
XYZxyz(10.0099, 5.4668, 33.3219)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D269F #789F26
analogous
#263B9F #4D269F #89269F
triadic
#4D269F #9F4D26 #269F4D
tetradic
#4D269F #9F263B #789F26 #269F89
square
#4D269F #9F263B #789F26 #269F89
split-complementary
#4D269F #9F8926 #3B9F26
monochromatic
#1D0E3C #351A6E #4D269F #6634CE #8B65DA

Accessibility & contrast

On white

10.03
#4D269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D269F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D269F#FFFFFF#000000##FFFFFF
##4D269F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#304761
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d269f;
/* rgb */ color: rgb(77, 38, 159);
/* oklch */ color: oklch(40.0% 0.181 290.5);
Tailwind
colors: {
  custom: {
    50: '#8865bc',
    500: '#4d269f',
    950: '#000000',
  },
}
SCSS
$custom: #4d269f;
$custom-light: #8865bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d269f",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 259.339,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40032,
    "c": 0.18058,
    "h": 290.5
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#4D269F
secondary
#A1C061
accent
#E543B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D269F

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

Preview Lab → · Contrast checker → · Palette generator →

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