#4C2695#4C2695

#4C2695 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.169 H 292.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4C2695
RGBrgb(76, 38, 149)
HSLhsl(261, 59%, 37%)
HSVhsv(261, 74%, 58%)
CMYKcmyk(49%, 74.5%, 0%, 41.6%)
CIE-LABlab(27.00, 43.38, -54.45)
CIE-LCHlch(27.00, 69.62, 308.55°)
OKLaboklab(39% 0.0643 -0.1562)
OKLCHoklch(39% 0.169 292.4)
XYZxyz(9.0969, 5.0923, 28.9316)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2695 #6F9526
analogous
#263795 #4C2695 #842695
triadic
#4C2695 #954C26 #26954C
tetradic
#4C2695 #952637 #6F9526 #269584
square
#4C2695 #952637 #6F9526 #269584
split-complementary
#4C2695 #958426 #379526
monochromatic
#1A0D33 #331A64 #4C2695 #6532C6 #885FD6

Accessibility & contrast

On white

10.40
#4C2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4C2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2695
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2695#FFFFFF#000000##FFFFFF
##4C26951.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#35435B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c2695;
/* rgb */ color: rgb(76, 38, 149);
/* oklch */ color: oklch(39.0% 0.169 292.4);
Tailwind
colors: {
  custom: {
    50: '#8664b5',
    500: '#4c2695',
    950: '#000000',
  },
}
SCSS
$custom: #4c2695;
$custom-light: #8664b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2695",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 260.541,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39,
    "c": 0.1689,
    "h": 292.4
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#4C2695
secondary
#9BBB5B
accent
#E345AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2695

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

Preview Lab → · Contrast checker → · Palette generator →

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