#4C2095#4C2095

#4C2095 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.175 H 293.3°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#4C2095
RGBrgb(76, 32, 149)
HSLhsl(263, 65%, 35%)
HSVhsv(263, 79%, 58%)
CMYKcmyk(49%, 78.5%, 0%, 41.6%)
CIE-LABlab(25.98, 46.28, -56.11)
CIE-LCHlch(25.98, 72.74, 309.51°)
OKLaboklab(38.29% 0.0695 -0.161)
OKLCHoklch(38.29% 0.175 293.3)
XYZxyz(8.9203, 4.7392, 28.8727)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2095 #699520
analogous
#202E95 #4C2095 #862095
triadic
#4C2095 #954C20 #20954C
tetradic
#4C2095 #95202E #699520 #209586
square
#4C2095 #95202E #699520 #209586
split-complementary
#4C2095 #958620 #2E9520
monochromatic
#190A30 #321563 #4C2095 #662BC7 #8755DA

Accessibility & contrast

On white

10.78
#4C2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4C2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2095
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2095#FFFFFF#000000##FFFFFF
##4C20951.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#35415A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4c2095;
/* rgb */ color: rgb(76, 32, 149);
/* oklch */ color: oklch(38.3% 0.175 293.3);
Tailwind
colors: {
  custom: {
    50: '#8661b5',
    500: '#4c2095',
    950: '#000000',
  },
}
SCSS
$custom: #4c2095;
$custom-light: #8661b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2095",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 262.564,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38285,
    "c": 0.17536,
    "h": 293.3
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#4C2095
secondary
#96BE53
accent
#E840A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C2095

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

Preview Lab → · Contrast checker → · Palette generator →

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