#4D269B#4D269B

#4D269B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.176 H 291.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4D269B
RGBrgb(77, 38, 155)
HSLhsl(260, 61%, 38%)
HSVhsv(260, 75%, 61%)
CMYKcmyk(50.3%, 75.5%, 0%, 39.2%)
CIE-LABlab(27.66, 45.23, -57.04)
CIE-LCHlch(27.66, 72.80, 308.42°)
OKLaboklab(39.66% 0.0644 -0.1637)
OKLCHoklch(39.66% 0.176 291.5)
XYZxyz(9.6684, 5.3302, 31.5234)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D269B #749B26
analogous
#26399B #4D269B #87269B
triadic
#4D269B #9B4D26 #269B4D
tetradic
#4D269B #9B2639 #749B26 #269B87
square
#4D269B #9B2639 #749B26 #269B87
split-complementary
#4D269B #9B8726 #399B26
monochromatic
#1C0E39 #351A6A #4D269B #6532CC #8A63D9

Accessibility & contrast

On white

10.16
#4D269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D269B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D269B#FFFFFF#000000##FFFFFF
##4D269B1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#33465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d269b;
/* rgb */ color: rgb(77, 38, 155);
/* oklch */ color: oklch(39.7% 0.176 291.5);
Tailwind
colors: {
  custom: {
    50: '#8765b9',
    500: '#4d269b',
    950: '#000000',
  },
}
SCSS
$custom: #4d269b;
$custom-light: #8765b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d269b",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 260,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39659,
    "c": 0.17594,
    "h": 291.5
  },
  "luminance": 0.05331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D269B

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

Preview Lab → · Contrast checker → · Palette generator →

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