#4C2685#4C2685

#4C2685 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.150 H 296.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4C2685
RGBrgb(76, 38, 133)
HSLhsl(264, 56%, 34%)
HSVhsv(264, 71%, 52%)
CMYKcmyk(42.9%, 71.4%, 0%, 47.8%)
CIE-LABlab(25.61, 38.90, -46.78)
CIE-LCHlch(25.61, 60.84, 309.75°)
OKLaboklab(37.59% 0.0677 -0.1336)
OKLCHoklch(37.59% 0.15 296.9)
XYZxyz(7.9061, 4.6160, 22.6602)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2685 #5F8526
analogous
#262F85 #4C2685 #7B2685
triadic
#4C2685 #854C26 #26854C
tetradic
#4C2685 #85262F #5F8526 #26857B
square
#4C2685 #85262F #5F8526 #26857B
split-complementary
#4C2685 #857B26 #2F8526
monochromatic
#160B26 #311855 #4C2685 #6734B5 #8757CF

Accessibility & contrast

On white

10.92
#4C2685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4C2685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2685
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2685#FFFFFF#000000##FFFFFF
##4C26851.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#3D3D52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4c2685;
/* rgb */ color: rgb(76, 38, 133);
/* oklch */ color: oklch(37.6% 0.150 296.9);
Tailwind
colors: {
  custom: {
    50: '#8363a9',
    500: '#4c2685',
    950: '#000000',
  },
}
SCSS
$custom: #4c2685;
$custom-light: #8363a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2685",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 264,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.14981,
    "h": 296.9
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#4C2685
secondary
#8DB353
accent
#DF49A3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4C2685

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

Preview Lab → · Contrast checker → · Palette generator →

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