#4C267D#4C267D

#4C267D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.140 H 299.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#4C267D
RGBrgb(76, 38, 125)
HSLhsl(266, 53%, 32%)
HSVhsv(266, 70%, 49%)
CMYKcmyk(39.2%, 69.6%, 0%, 51%)
CIE-LABlab(24.96, 36.69, -42.80)
CIE-LCHlch(24.96, 56.37, 310.61°)
OKLaboklab(36.92% 0.069 -0.1219)
OKLCHoklch(36.92% 0.14 299.5)
XYZxyz(7.3744, 4.4033, 19.8595)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C267D #577D26
analogous
#262C7D #4C267D #78267D
triadic
#4C267D #7D4C26 #267D4C
tetradic
#4C267D #7D262C #577D26 #267D78
square
#4C267D #7D262C #577D26 #267D78
split-complementary
#4C267D #7D7826 #2C7D26
monochromatic
#13091F #2F184E #4C267D #6934AC #8753CB

Accessibility & contrast

On white

11.17
#4C267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4C267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C267D
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C267D#FFFFFF#000000##FFFFFF
##4C267D1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#413A4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c267d;
/* rgb */ color: rgb(76, 38, 125);
/* oklch */ color: oklch(36.9% 0.140 299.5);
Tailwind
colors: {
  custom: {
    50: '#8263a3',
    500: '#4c267d',
    950: '#000000',
  },
}
SCSS
$custom: #4c267d;
$custom-light: #8263a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c267d",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 266.207,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3692,
    "c": 0.14009,
    "h": 299.5
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#4C267D
secondary
#85AF50
accent
#DD4B9D
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4C267D

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

Preview Lab → · Contrast checker → · Palette generator →

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