#4A1468#4A1468

#4A1468 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.139 H 310.0°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4A1468
RGBrgb(74, 20, 104)
HSLhsl(279, 68%, 24%)
HSVhsv(279, 81%, 41%)
CMYKcmyk(28.8%, 80.8%, 0%, 59.2%)
CIE-LABlab(19.87, 39.64, -37.57)
CIE-LCHlch(19.87, 54.62, 316.54°)
OKLaboklab(32.7% 0.0893 -0.1066)
OKLCHoklch(32.7% 0.139 310)
XYZxyz(5.5724, 2.9558, 13.3710)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1468 #326814
analogous
#201468 #4A1468 #68145C
triadic
#4A1468 #684A14 #14684A
tetradic
#4A1468 #682014 #326814 #145C68
square
#4A1468 #682014 #326814 #145C68
split-complementary
#4A1468 #5C6814 #146820
monochromatic
#12051A #250A35 #4A1468 #6F1E9B #9328CF

Accessibility & contrast

On white

13.20
#4A1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1468
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1468#FFFFFF#000000##FFFFFF
##4A14681.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#46283D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1468;
/* rgb */ color: rgb(74, 20, 104);
/* oklch */ color: oklch(32.7% 0.139 310.0);
Tailwind
colors: {
  custom: {
    50: '#805894',
    500: '#4a1468',
    950: '#000000',
  },
}
SCSS
$custom: #4a1468;
$custom-light: #805894;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1468",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 278.571,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32702,
    "c": 0.13902,
    "h": 310
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#4A1468
secondary
#5D9F39
accent
#EB3D7B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A1468

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

Preview Lab → · Contrast checker → · Palette generator →

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