#4A195D#4A195D

#4A195D is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.121 H 315.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#4A195D
RGBrgb(74, 25, 93)
HSLhsl(283, 58%, 23%)
HSVhsv(283, 73%, 36%)
CMYKcmyk(20.4%, 73.1%, 0%, 63.5%)
CIE-LABlab(19.81, 34.82, -30.41)
CIE-LCHlch(19.81, 46.23, 318.87°)
OKLaboklab(32.39% 0.0855 -0.0856)
OKLCHoklch(32.39% 0.121 315)
XYZxyz(5.1471, 2.9416, 10.6505)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A195D #2C5D19
analogous
#28195D #4A195D #5D194E
triadic
#4A195D #5D4A19 #195D4A
tetradic
#4A195D #5D2819 #2C5D19 #194E5D
square
#4A195D #5D2819 #2C5D19 #194E5D
split-complementary
#4A195D #4E5D19 #195D28
monochromatic
#130618 #240C2D #4A195D #70268D #9733BD

Accessibility & contrast

On white

13.22
#4A195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4A195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A195D
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A195D#FFFFFF#000000##FFFFFF
##4A195D1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#17315B
Tritanopia (blue-blind)
#482739
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a195d;
/* rgb */ color: rgb(74, 25, 93);
/* oklch */ color: oklch(32.4% 0.121 315.0);
Tailwind
colors: {
  custom: {
    50: '#7f5a8b',
    500: '#4a195d',
    950: '#000000',
  },
}
SCSS
$custom: #4a195d;
$custom-light: #7f5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a195d",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 283.235,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32393,
    "c": 0.12093,
    "h": 315
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#4A195D
secondary
#56933F
accent
#E14772
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A195D

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

Preview Lab → · Contrast checker → · Palette generator →

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