#4A196C#4A196C

#4A196C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.137 H 307.4°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#4A196C
RGBrgb(74, 25, 108)
HSLhsl(275, 62%, 26%)
HSVhsv(275, 77%, 42%)
CMYKcmyk(31.5%, 76.9%, 0%, 57.6%)
CIE-LABlab(20.96, 38.43, -38.41)
CIE-LCHlch(20.96, 54.33, 315.01°)
OKLaboklab(33.58% 0.0834 -0.1091)
OKLCHoklch(33.58% 0.137 307.4)
XYZxyz(5.8779, 3.2339, 14.4990)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A196C #3B6C19
analogous
#20196C #4A196C #6C1964
triadic
#4A196C #6C4A19 #196C4A
tetradic
#4A196C #6C2019 #3B6C19 #19646C
square
#4A196C #6C2019 #3B6C19 #19646C
split-complementary
#4A196C #646C19 #196C20
monochromatic
#110619 #280D3A #4A196C #6C259E #8E30CF

Accessibility & contrast

On white

12.75
#4A196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4A196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A196C
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A196C#FFFFFF#000000##FFFFFF
##4A196C1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#442D41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a196c;
/* rgb */ color: rgb(74, 25, 108);
/* oklch */ color: oklch(33.6% 0.137 307.4);
Tailwind
colors: {
  custom: {
    50: '#805b97',
    500: '#4a196c',
    950: '#000000',
  },
}
SCSS
$custom: #4a196c;
$custom-light: #805b97;
$custom-dark: #000000;
JSON
{
  "hex": "#4a196c",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 275.422,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33576,
    "c": 0.13727,
    "h": 307.4
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#4A196C
secondary
#68A13F
accent
#E54285
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A196C

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

Preview Lab → · Contrast checker → · Palette generator →

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