#4D269A#4D269A

#4D269A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.175 H 291.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4D269A
RGBrgb(77, 38, 154)
HSLhsl(260, 60%, 38%)
HSVhsv(260, 75%, 60%)
CMYKcmyk(50%, 75.3%, 0%, 39.6%)
CIE-LABlab(27.56, 44.95, -56.58)
CIE-LCHlch(27.56, 72.26, 308.47°)
OKLaboklab(39.57% 0.0646 -0.1624)
OKLCHoklch(39.57% 0.175 291.7)
XYZxyz(9.5848, 5.2967, 31.0829)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D269A #739A26
analogous
#26399A #4D269A #87269A
triadic
#4D269A #9A4D26 #269A4D
tetradic
#4D269A #9A2639 #739A26 #269A87
square
#4D269A #9A2639 #739A26 #269A87
split-complementary
#4D269A #9A8726 #399A26
monochromatic
#1C0E38 #341A69 #4D269A #6632CB #8A62D8

Accessibility & contrast

On white

10.20
#4D269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D269A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D269A#FFFFFF#000000##FFFFFF
##4D269A1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#34455E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d269a;
/* rgb */ color: rgb(77, 38, 154);
/* oklch */ color: oklch(39.6% 0.175 291.7);
Tailwind
colors: {
  custom: {
    50: '#8764b9',
    500: '#4d269a',
    950: '#000000',
  },
}
SCSS
$custom: #4d269a;
$custom-light: #8764b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d269a",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 260.172,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39567,
    "c": 0.17478,
    "h": 291.7
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#4D269A
secondary
#9EBE5E
accent
#E444AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D269A

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

Preview Lab → · Contrast checker → · Palette generator →

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